[issue5679] cleanUp stack for unittest

Michael Foord report at bugs.python.org
Mon Apr 6 01:49:51 CEST 2009


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

@Garrett / Virgil

I don't think anything other than very short term confusion is possible.
Whichever decision is made a developer who assumes the opposite will
actually get an error. In both cases the downside is that in certain
circumstances you could attempt to use a resource that has already been
disposed of.

As an interesting data point, the Bzr code does clean ups *before* tearDown.

----------

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


More information about the Python-bugs-list mailing list