jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/800704 )
Change subject: Revert "[bugfix] Decorate test_other_wiki_prefix with expectedFailure" ......................................................................
Revert "[bugfix] Decorate test_other_wiki_prefix with expectedFailure"
This reverts commit 33888f7f200ef25b81b1db510481cf5a1da34ac1.
Reason for revert: solved upstream
Bug: T309442 Change-Id: Ic58d57e528e89a0d0a6bca9125f5d23b4778f4c2 --- M tests/link_tests.py 1 file changed, 1 insertion(+), 2 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/link_tests.py b/tests/link_tests.py index 94600f3..cbb0cd0 100755 --- a/tests/link_tests.py +++ b/tests/link_tests.py @@ -6,7 +6,6 @@ # Distributed under the terms of the MIT license. # import re -import unittest from contextlib import suppress
import pywikibot @@ -19,6 +18,7 @@ DefaultDrySiteTestCase, TestCase, WikimediaDefaultSiteTestCase, + unittest, )
@@ -903,7 +903,6 @@ self.assertEqual(link.site.sitename, 'wikimedia:wikimedia') self.assertTrue(link._is_interwiki)
- @unittest.expectedFailure # T309442 def test_other_wiki_prefix(self): """Test that Link fails if the interwiki prefix is a unknown family.""" link = Link('bulba:title on auto-generated Site', source=self.site)
pywikibot-commits@lists.wikimedia.org