https://travis-ci.org/wikimedia/pywikibot-core/jobs/209347989#L2091
______________ TestSiteGenerators.test_allpages_langlinks_enabled ______________ self = <tests.site_tests.TestSiteGenerators testMethod=test_allpages_langlinks_enabled> def test_allpages_langlinks_enabled(self): """Test allpages with langlinks enabled.""" mysite = self.get_site() > for page in mysite.allpages(filterlanglinks=True, total=5): tests/site_tests.py:608: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pywikibot/data/api.py:2753: in __iter__ self.data = self.request.submit() pywikibot/data/api.py:2342: in submit self._data = super(CachedRequest, self).submit() pywikibot/data/api.py:1978: in submit self.wait() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = tests.TestRequest<wikidata:wikidata->'/w/api.php?inprop=protection&gapfilterla...&iiprop=timestamp|user|comment|url|size|sha1|metadata&uiprop=blockinfo|hasmsg'> def wait(self): """Determine how long to wait after a failed request.""" self.max_retries -= 1 if self.max_retries < 0: > raise TimeoutError("Maximum retries attempted without success.") E TimeoutError: Maximum retries attempted without success. pywikibot/data/api.py:2197: TimeoutError
Reason:
Pages in the main namespace of wikidata have no language links, therefore mysite.allpages(filterlanglinks=True, total=5) timeouts before finding 5 pages to return.