Message284828
| Author |
vinay.sajip |
| Recipients |
vinay.sajip, xdegaye |
| Date |
2017年01月06日.16:07:02 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1483718822.2.0.644139877356.issue29177@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> To reproduce the test_logging cleanup problem, insert skipTest() in setUp()
My understanding is that skipTest would normally be raised in the test method itself or as a decorator to it, and not in setUp() itself. (It wouldn't make sense to, as that would skip every test in the test case - not the obvious thing to do.) I can understand that failures that happen in setUp() may cause tearDown() not to be called.
I would guess that setUp() should recover from any problem and set a flag which is then used to skip in the other tests (which rely on that problem not being there). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2017年01月06日 16:07:02 | vinay.sajip | set | recipients:
+ vinay.sajip, xdegaye |
| 2017年01月06日 16:07:02 | vinay.sajip | set | messageid: <1483718822.2.0.644139877356.issue29177@psf.upfronthosting.co.za> |
| 2017年01月06日 16:07:02 | vinay.sajip | link | issue29177 messages |
| 2017年01月06日 16:07:02 | vinay.sajip | create |
|