[issue5531] unittest: allow failures in tearDown method
Brett Cannon
report at bugs.python.org
Sun Mar 22 04:30:19 CET 2009
Brett Cannon <brett at python.org> added the comment:
So I disagree with this idea. The point of a tearDown method is simply
to clean up, not to test for a failure. If the test failed because it
didn't complete a test and clean up after itself then the test should
fail explicitly, not have the tearDown do it for the test.
----------
components: +Library (Lib) -Extension Modules
nosy: +brett.cannon
stage: -> patch review
type: -> feature request
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5531>
_______________________________________
More information about the Python-bugs-list
mailing list