[issue5538] tearDown in unittest should be executed regardless of result in setUp

Jean-Paul Calderone report at bugs.python.org
Mon Mar 23 16:56:44 CET 2009


Jean-Paul Calderone <exarkun at divmod.com> added the comment:

> And maybe the addCleanup components could be a stack of callable objects?

Yea, that's handy.  My example didn't show it, but that's what trial
implements.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5538>
_______________________________________


More information about the Python-bugs-list mailing list