Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
**What happens?**:
09:33:08
======================================================================
09:33:08 ERROR: test_recentchanges_default
(tests.pagegenerators_tests.TestFactoryGenerator)
09:33:08 Test recentchanges generator with default namespace setting.
09:33:08
----------------------------------------------------------------------
09:33:08 Traceback (most recent call last):
09:33:08 File "/src/tests/pagegenerators_tests.py", line 1112, in
test_recentchanges_default
09:33:08 self.assertPagesInNamespacesAll(gen, {0, 1, 2}, skip=True)
09:33:08 File "/src/tests/aspects.py", line 213, in
assertPagesInNamespacesAll
09:33:08 page_namespaces = {page.namespace() for page in gen}
09:33:08 File "/src/tests/aspects.py", line 213, in <setcomp>
09:33:08 page_namespaces = {page.namespace() for page in gen}
09:33:08 File "/src/pywikibot/tools/itertools.py", line 288, in
filter_unique
09:33:08 for item in iterable:
09:33:08 File "/src/pywikibot/pagegenerators/_filters.py", line 88, in
<genexpr>
09:33:08 return (page for page in generator if page.namespace() in
namespaces)
09:33:08 File "/src/pywikibot/page/_basepage.py", line 168, in namespace
09:33:08 return self._link.namespace
09:33:08 File "/src/pywikibot/page/_links.py", line 517, in namespace
09:33:08 self.parse()
09:33:08 File "/src/pywikibot/page/_links.py", line 441, in parse
09:33:08 f"'{self._text}' has no title.")
09:33:08 pywikibot.exceptions.InvalidTitleError: 'User:#21170' has no title.
Looks like an autoblock ID
TASK DETAIL
https://phabricator.wikimedia.org/T333426
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, Framawiki,
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]