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:19 | pitrou | set | recipients:
+ pitrou, michael.foord |
| 2010年09月14日 21:45:19 | pitrou | set | messageid: <1284500719.22.0.435536478708.issue9857@psf.upfronthosting.co.za> |
| 2010年09月14日 21:45:16 | pitrou | link | issue9857 messages |
| 2010年09月14日 21:45:15 | pitrou | create |
|