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

Michael Foord report at bugs.python.org
Fri Apr 3 22:34:10 CEST 2009


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

Closing. The patch as suggested should not be applied. Instead tearDown
should be called in a finally block in the setUp for this specific use case.

I've created a new issue (#5679) for the cleanUp idea which I think is good.

----------

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


More information about the Python-bugs-list mailing list