Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests, Pywikibot-i18n.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
**List of steps to reproduce** (step by step, including full links if
applicable):
run `pwb i18n_tests`
**What happens?**:
tests: max_retries reduced from 15 to 1
E......................
======================================================================
ERROR: setUpClass (__main__.InputTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File ".\tests\i18n_tests.py", line 314, in setUpClass
if cls.code in i18n.twget_keys(cls.message):
File "C:\pwb\GIT\core\pywikibot\i18n.py", line 803, in twget_keys
return [lang for lang in langs
File "C:\pwb\GIT\core\pywikibot\i18n.py", line 804, in <listcomp>
if lang != 'qqq' and _get_translation(lang, twtitle)]
File "C:\pwb\GIT\core\pywikibot\i18n.py", line 426, in _get_translation
trans_text = data.decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf3 in position 96:
invalid continuation byte
----------------------------------------------------------------------
Ran 22 tests in 1.549s
FAILED (errors=1)
**Software version (if not a Wikimedia wiki), browser information,
screenshots, other information, etc**:
Pywikibot 7.0.0 after cosmetic_changes-append package copied to
pywikibot-cosmetic-changes
TASK DETAIL
https://phabricator.wikimedia.org/T298387
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, Jyoo1011, JohnsonLee01, SHEKH,
Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89,
Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]