This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:02vinay.sajipsetrecipients: + vinay.sajip, xdegaye
2017-01-06 16:07:02vinay.sajipsetmessageid: <1483718822.2.0.644139877356.issue29177@psf.upfronthosting.co.za>
2017-01-06 16:07:02vinay.sajiplinkissue29177 messages
2017-01-06 16:07:02vinay.sajipcreate