Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
16:10:20
======================================================================
16:10:20 ERROR: test_recentchanges_default
(tests.pagegenerators_tests.TestFactoryGenerator)
16:10:20 Test recentchanges generator with default namespace setting.
16:10:20
----------------------------------------------------------------------
16:10:20 Traceback (most recent call last):
16:10:20 File "/src/tests/pagegenerators_tests.py", line 1112, in
test_recentchanges_default
16:10:20 self.assertPagesInNamespacesAll(gen, {0, 1, 2}, skip=True)
16:10:20 File "/src/tests/aspects.py", line 214, in
assertPagesInNamespacesAll
16:10:20 page_namespaces = {page.namespace() for page in gen}
16:10:20 File "/src/tests/aspects.py", line 214, in <setcomp>
16:10:20 page_namespaces = {page.namespace() for page in gen}
16:10:20 File "/src/pywikibot/tools/itertools.py", line 288, in
filter_unique
16:10:20 for item in iterable:
16:10:20 File "/src/pywikibot/pagegenerators/_filters.py", line 88, in
<genexpr>
16:10:20 return (page for page in generator if page.namespace() in
namespaces)
16:10:20 File "/src/pywikibot/page/_basepage.py", line 168, in namespace
16:10:20 return self._link.namespace
16:10:20 File "/src/pywikibot/page/_links.py", line 517, in namespace
16:10:20 self.parse()
16:10:20 File "/src/pywikibot/page/_links.py", line 441, in parse
16:10:20 f"'{self._text}' has no title.")
16:10:20 pywikibot.exceptions.InvalidTitleError: 'User:#21248' has no title.
TASK DETAIL
https://phabricator.wikimedia.org/T340450
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, pywikibot-bugs-list, Xqt, PotsdamLamb, Jyoo1011, JohnsonLee01,
SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont,
JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti,
Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]