| Xqt created this task. Xqt added projects: Pywikibot-core, Pywikibot-tests. Herald added subscribers: pywikibot-bugs-list, Aklapper. |
TASK DESCRIPTION
See https://travis-ci.org/wikimedia/pywikibot
=================================== FAILURES =================================== _____________ TestNamespaceDictDeprecated.test_resolve_exceptions ______________ TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
During handling of the above exception, another exception occurred:
self = <tests.namespace_tests.TestNamespaceDictDeprecated testMethod=test_resolve_exceptions>
def test_resolve_exceptions(self):
"""Test Namespace.resolve failure."""
self.assertRaisesRegex(TypeError, self.CONTAINSINAPPROPRIATE_RE,
Namespace.resolve, [True])
self.assertRaisesRegex(TypeError, self.CONTAINSINAPPROPRIATE_RE,
Namespace.resolve, [False])
self.assertRaisesRegex(TypeError, self.INTARGNOTSTRINGORNUMBER_RE,
> Namespace.resolve, [None])
tests/namespace_tests.py:281:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/aspects.py:1123: in inner_assert
context = self.process_assert(assertion, *args, **kwargs)
tests/aspects.py:1111: in process_assert
return assertion(*args, **kwargs)
E AssertionError: "int\(\) argument must be a string or a number, not '(.*?)'" does not match "int() argument must be a string, a bytes-like object or a number, not 'NoneType'"TASK DETAIL
EMAIL PREFERENCES
To: Xqt
Cc: divadsn, jayvdb, Aklapper, Xqt, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, Dalba, Masti, Alchimista, Rxy
Cc: divadsn, jayvdb, Aklapper, Xqt, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, Dalba, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
