C:\pwb\GIT\core>pwb -lang:en wikibase_tests -v TestWriteNormalizeLang.test_normalize_lang
C:\pwb\GIT\core\pywikibot\config2.py:1136: _ConfigurationDeprecationWarning: "sysopnames" present in our user-config.py is no longer a supported configuration variable. Please inform the maintainers if you depend on it.
warn('"{0}" present in our user-config.py is no longer a supported '
tests: max_retries reduced from 15 to 1
test_normalize_lang (__main__.TestWriteNormalizeLang)
Test _normalizeLanguages() method. ... ERROR
======================================================================
ERROR: test_normalize_lang (__main__.TestWriteNormalizeLang)
Test _normalizeLanguages() method.
----------------------------------------------------------------------
Traceback (most recent call last):
File ".\tests\wikibase_tests.py", line 1823, in test_normalize_lang
response = WikibasePage._normalizeLanguages(lang_in)
File "C:\pwb\GIT\core\pywikibot\page.py", line 4168, in _normalizeLanguages
for key in data:
RuntimeError: dictionary keys changed during iteration
----------------------------------------------------------------------
Ran 1 test in 0.045s
FAILED (errors=1)
C:\pwb\GIT\core>RuntimeError: dictionary keys changed during iterationDescription
Description
Details
Details
Related Changes in Gerrit:
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| [bugfix] Fix RuntimeError in Python 3.8 | pywikibot/core | master | +1 -1 |
Related Objects
Related Objects
Event Timeline
Comment Actions
Change 551781 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [bugfix] Fix RuntimeError in Python 3.8
Comment Actions
Change 551781 merged by jenkins-bot:
[pywikibot/core@master] [bugfix] Fix RuntimeError in Python 3.8