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

Michael Foord report at bugs.python.org
Fri Apr 3 19:00:16 CEST 2009


Michael Foord <michael at voidspace.org.uk> added the comment:

OK, so the patch as submitted *isn't* for the cleanUp suggestion (d'oh -
I should have read it before posting the last comment).

One possibility is that this bug is closed as won't fix (the patch as
provided should definitely not be applied as it is a big change to
unittest setUp / tearDown semantics) and a new feature request be added
for cleanUp.

OTOH if we do have consensus that cleanUp is a worthy feature I'll just
do it...

----------

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


More information about the Python-bugs-list mailing list