Xqt created this task.
Xqt added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
D:\pwb\GIT\core>py -3.7 -m pwb interwikidata_tests -v
TestInterwikidataBot.test_main
tests: max_retries reduced from 15 to 3
test_main (__main__.TestInterwikidataBot)
Test main function interwikidata.py. ... ERROR
======================================================================
ERROR: test_main (__main__.TestInterwikidataBot)
Test main function interwikidata.py.
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\pwb\GIT\core\tests\interwikidata_tests.py", line 60, in test_main
self.assertIsNone(interwikidata.main())
File "D:\pwb\GIT\core\scripts\interwikidata.py", line 256, in main
bot = IWBot(generator=generator, site=site, **options)
TypeError: __init__() keywords must be strings
----------------------------------------------------------------------
Ran 1 test in 4.166s
The reason is that `options` dict contains `{None: True}` if no option is
given like in `pwb interwikidata`
TASK DETAIL
https://phabricator.wikimedia.org/T366409
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, mevo, PotsdamLamb, Jyoo1011,
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, 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]