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 <rep...@bugs.python.org>
<http://bugs.python.org/issue18765>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to