Xqt created this task.
Xqt added a project: Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
Restricted Application added a project: Pywikibot.

TASK DESCRIPTION
  Currently the test raises an exception instead of skipping as assumed
  
    C:\pwb\GIT\core>py -3 pwb.py l10n_tests -v TestValidTemplate
    tests: max_retries reduced from 15 to 1
    Traceback (most recent call last):
      File "pwb.py", line 297, in <module>
        if not main():
      File "pwb.py", line 292, in main
        run_python_file(filename, [filename] + args, argvu, file_package)
      File "pwb.py", line 96, in run_python_file
        main_mod.__dict__)
      File ".\tests\l10n_tests.py", line 86, in <module>
        class TestValidTemplate(TestCase):
      File "C:\pwb\GIT\core\tests\utils.py", line 118, in add_metaclass
        return six.add_metaclass(cls.__metaclass__)(cls)
      File "C:\python37\lib\site-packages\six.py", line 847, in wrapper
        return metaclass(cls.__name__, cls.__bases__, orig_vars)
      File ".\tests\l10n_tests.py", line 66, in __new__
        .format(i18n._messages_package_name))
    unittest.case.SkipTest: i18n messages package 'scripts.i18n' not available.
    CRITICAL: Exiting due to uncaught exception <class 'unittest.case.SkipTest'>
    
    C:\pwb\GIT\core>

TASK DETAIL
  https://phabricator.wikimedia.org/T225632

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, Viztor, DannyS712, Wenyi, Tbscho, MayS, 
Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, 
Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to