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

Jean-Paul Calderone report at bugs.python.org
Mon Mar 23 17:37:30 CET 2009


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

/Any/ addCleanup that is successfully executed should cause the cleanup
function to be called.  Otherwise you have to define all your cleanup
twice, and that's no fun.

----------

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


More information about the Python-bugs-list mailing list