[issue16599] unittest: Access test result from tearDown
Michael Foord
report at bugs.python.org
Tue Dec 4 13:43:38 CET 2012
Michael Foord added the comment:
Well, addSuccessCleanup *would* be an api for adding a cleanup - one that is only called on success. So the cleanup is skipped on failure or error, which was the original use case.
"Additional consideration that the need to leave the test results is a user run time preference, which may only be actual when debugging or working on the particular test."
I can't parse that sentence, can you rephrase please. (Did you mean another word other than "leave", and I don't understand "may only be actual".)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16599>
_______________________________________
More information about the Python-bugs-list
mailing list