jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/752718 )
Change subject: [tests] TestFormatInterwiki has not test_interwiki_format method ......................................................................
[tests] TestFormatInterwiki has not test_interwiki_format method
The method was renamed and splitted. The test need 2 seconds to run.
Change-Id: I4f1f729a03379855a59c8852f4f199553385d157 --- M tests/__init__.py 1 file changed, 3 insertions(+), 6 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/__init__.py b/tests/__init__.py index f802c45..a29fdff 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,6 +1,6 @@ """Package tests.""" # -# (C) Pywikibot team, 2007-2021 +# (C) Pywikibot team, 2007-2022 # # Distributed under the terms of the MIT license. # @@ -29,6 +29,7 @@
import pywikibot.data.api from pywikibot import config +from pywikibot.backports import Dict, List from pywikibot.data.api import CachedRequest from pywikibot.data.api import Request as _original_Request from pywikibot.tools import PYTHON_VERSION @@ -172,11 +173,7 @@ 'l10n', # pywikibot-i18n repository runs it }
-disabled_tests = { - 'textlib': [ - 'test_interwiki_format', # example; very slow test - ], -} +disabled_tests = {} # type: Dict[str, List[str]]
def _unknown_test_modules():