[issue19746] No introspective way to detect ModuleImportFailure in unittest
Robert Collins
report at bugs.python.org
Thu Sep 25 03:26:27 CEST 2014
Robert Collins added the comment:
Right: the existing code stringifies the original exception and creates an exception object and a closure
def test_thing(self):
raise exception_obj
but that has the stringified original exception.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19746>
_______________________________________
More information about the Python-bugs-list
mailing list