[issue9857] SkipTest in tearDown is reported an as an error

Michael Foord report at bugs.python.org
Wed Sep 15 11:52:31 CEST 2010


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

Interesting use case.

If the test has not yet failed this is fine. The problem is that if an exception has *already* been raised then it will already have been added to the result - so by then skipping is meaningless (or contradictory - the test can fail *and* skip).

----------

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


More information about the Python-bugs-list mailing list