Commit 2cab6d54 authored by Denis Bilenko's avatar Denis Bilenko

clarify error message in test__all__.py

--HG--
extra : transplant_source : %80%F0%1F%9E%BA%3A%C1%05%23%D1%C4%E7Vq8%EE%87%E7%CB%88
parent cbf6aeee
......@@ -58,7 +58,7 @@ class Test(unittest.TestCase):
"Check that __implements__ + __imports__ is a subset of the corresponding standard module __all__ or dir()"
for name in self.__implements__ + self.__imports__:
if name not in self.stdlib_all and name not in COULD_BE_MISSING.get(self.stdlib_name, []):
raise AssertionError('%r is not found in %r' % (name, self.stdlib_module))
raise AssertionError('%r is not found in %r.__all__' % (name, self.stdlib_module))
def check_implements_actually_implements(self):
"""Check that the module actually implements the entries from __implements__"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment