[issue18765] unittest needs a way to launch pdb.post_mortem or other debug hooks
Michael Foord
report at bugs.python.org
Sat Aug 17 22:56:43 CEST 2013
Michael Foord added the comment:
This is done in outcome.testPartExecutor. If you add it in the except clause then it is *only* called on test failure or error. If we call it unconditionally with the result (maybe a sys.exc_info tuple?) then it could have extended use cases (perhaps custom reporting)?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18765>
_______________________________________
More information about the Python-bugs-list
mailing list