[issue5679] cleanUp stack for unittest

Robert Collins report at bugs.python.org
Mon Apr 6 02:06:51 CEST 2009


Robert Collins <robertc at robertcollins.net> added the comment:

On Sun, 2009-04-05 at 23:57 +0000, Michael Foord wrote:
> Michael Foord <michael at voidspace.org.uk> added the comment:
> 
> My apologies - the jml code on launchpad runs clean ups before taerDown.
> 
> http://bazaar.launchpad.net/~jml/testtools/trunk/annotate/head%3A/testtools/testcase.py

Ah, indeed it does. Well, FWIW my use has nearly all been with bzr's
that does it after :)

Jono - was there some particular reason testtools does it after? (We're
discussing the merits of pre-and-post tearDown, ad-nauseum :)).

-Rob

----------

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


More information about the Python-bugs-list mailing list