jayvdb created this task.
jayvdb added a subscriber: jayvdb.
jayvdb added a project: Pywikibot-tests.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  ```
  $ python -m unittest -v 
tests.pagegenerators_tests.TestFactoryGenerator.test_recentchanges_ns
  tests: max_retries reduced from 25 to 1
  test_recentchanges_ns (tests.pagegenerators_tests.TestFactoryGenerator) ... 
ERROR
  
  ======================================================================
  ERROR: test_recentchanges_ns (tests.pagegenerators_tests.TestFactoryGenerator)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "tests/pagegenerators_tests.py", line 700, in test_recentchanges_ns
      self.assertPagesInNamespaces(gen, 1)
    File "tests/aspects.py", line 201, in assertPagesInNamespaces
      for page in gen:
    File "pywikibot/pagegenerators.py", line 1269, in 
NamespaceFilterPageGenerator
      for page in generator:
    File "pywikibot/tools/__init__.py", line 790, in filter_unique
      if (key(item) if key else item) not in container:
    File "pywikibot/page.py", line 313, in __hash__
      return hash(unicode(self))
    File "pywikibot/page.py", line 281, in __unicode__
      return self.title(asLink=True, forceInterwiki=True)
    File "pywikibot/tools/__init__.py", line 1327, in wrapper
      return obj(*__args, **__kw)
    File "pywikibot/page.py", line 218, in title
      title = self._link.canonical_title()
    File "pywikibot/page.py", line 4965, in canonical_title
      if self.namespace:
    File "pywikibot/page.py", line 4930, in namespace
      self.parse()
    File "pywikibot/page.py", line 4868, in parse
      "in namespace {1}.".format(self._text, other_ns))
  InvalidTitle: The (non-)talk page of 'Talk:Anarchopedia:Community Portal' is 
a valid title in namespace Anarchopedia:.
  ```

TASK DETAIL
  https://phabricator.wikimedia.org/T115443

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Aklapper, jayvdb, pywikibot-bugs-list



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to