Only appears in job 19 of travis builds.
https://travis-ci.org/wikimedia/pywikibot-core/jobs/222770095
_______________________ TestPageDeprecation.test_creator _______________________ self = <tests.page_tests.TestPageDeprecation testMethod=test_creator> def test_creator(self): """Test getCreator.""" mainpage = self.get_mainpage() creator = mainpage.getCreator() self.assertEqual(creator, (mainpage.oldest_revision.user, mainpage.oldest_revision.timestamp.isoformat())) self.assertIsInstance(creator[0], unicode) self.assertIsInstance(creator[1], unicode) > self.assertDeprecation() tests/page_tests.py:570: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/aspects.py:1588: in assertDeprecation self.assertDeprecationFile(self.expect_warning_filename) tests/aspects.py:1631: in assertDeprecationFile % (filename, item)) E AssertionError: expected warning filename /home/travis/build/wikimedia/pywikibot-core/tests/page_tests.py; warning item: {message : ResourceWarning("unclosed <socket.socket fd=7, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('172.17.0.7', 53744), raddr=('208.80.154.224', 443)>",), category : 'ResourceWarning', filename : '/opt/python/3.4.2/lib/python3.4/socket.py', lineno : 444, line : None}