[issue5531] unittest: allow failures in tearDown method

Tim Cuthbertson report at bugs.python.org
Sun Mar 22 12:16:46 CET 2009


Tim Cuthbertson <tim3d.junk at gmail.com> added the comment:

In my mind, an error means something is wrong. A failure just means a
test case hasn't been implemented yet, or has regressed. For me it's
misleading to have an AssertionError reported as a failure. It's not as
if changing the reporting in this way could cause tests to succeed when
they should fail (or vice versa) - so it seems like there is no downside
to including this behaviour.

----------

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


More information about the Python-bugs-list mailing list