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