There is an issue on Travis CI job:
_____________ TestLogeventsFactoryGenerator.test_logevents_default _____________ self = <tests.pagegenerators_tests.TestLogeventsFactoryGenerator testMethod=test_logevents_default> def test_logevents_default(self): """Test old logevents option handling.""" gf = pagegenerators.GeneratorFactory(site=self.site) self.assertTrue(gf.handleArg('-newuserslog')) self.assertOneDeprecationParts('The usage of "-newuserslog"', > '-logevents:"newusers,,500"') tests/pagegenerators_tests.py:1097: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/aspects.py:1575: in assertOneDeprecationParts count) tests/aspects.py:1579: in assertOneDeprecation self.assertDeprecation(msg) tests/aspects.py:1564: in assertDeprecation self.assertIn(msg, self.deprecation_messages) E AssertionError: u'The usage of "-newuserslog" is deprecated; use -logevents:"newusers,,500" instead.' not found in ['The usage of "-newuserslog" is deprecated; use -logevents:"newusers,,None" instead.']
See for example: https://travis-ci.org/wikimedia/pywikibot-core/jobs/177419008#L4474-L4493