There are regularly errors in the builds due to testInternetArchiveNewest
FAIL: testInternetArchiveNewest (tests.weblib_tests.TestInternetArchive) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/travis/build/wikimedia/pywikibot-core/tests/weblib_tests.py", line 35, in testInternetArchiveNewest self.assertIn(parsed.scheme, [u'http', u'https']) AssertionError: b'' not found in ['http', 'https']
https://travis-ci.org/wikimedia/pywikibot-core/jobs/69519308#L3529
https://travis-ci.org/wikimedia/pywikibot-core/jobs/69539877#L3528
I cant say for certain, but I think they have only started occurring since the switch to requests.