[New-bugs-announce] [issue9857] SkipTest in tearDown is reported an as an error
report at bugs.python.org
Tue Sep 14 23:45:19 CEST 2010
New submission from Antoine Pitrou <pitrou at free.fr>:
Raising SkipTest when in a tearDown method is reported as an error, rather than a skipped test.
Now doing this sounds like a weird use case, but it would be actually useful when you have a worker thread, and the tearDown method collects the exception raised in that thread and raises it again. For the worker thread to be able to use skipTest(), a SkipTest exception raised in tearDown should be properly reported as a skip.
components: Library (Lib)
nosy: michael.foord, pitrou
title: SkipTest in tearDown is reported an as an error
versions: Python 3.2
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce