Message 116422 - Python tracker

Message116422

Author pitrou
Recipients michael.foord, pitrou
Date 2010-09-14.21:45:15
SpamBayes Score 6.7325635e-07
Marked as misclassified No
Message-id <1284500719.22.0.435536478708.issue9857@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-09-14 21:45:19pitrousetrecipients: + pitrou, michael.foord
2010-09-14 21:45:19pitrousetmessageid: <1284500719.22.0.435536478708.issue9857@psf.upfronthosting.co.za>
2010-09-14 21:45:16pitroulinkissue9857 messages
2010-09-14 21:45:15pitroucreate