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 ronaldoussoren
Recipients ezio.melotti, michael.foord, rbcollins, ronaldoussoren
Date 2017-07-23.10:47:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500806839.59.0.646969271653.issue30997@psf.upfronthosting.co.za>
In-reply-to
Content
It would be nice if there were a way to mark a TestCase.subTest as an expected failure.

I have a number of testcases that use the subTest feature and where a small subset of those tests are expected failures due to platform issues. It would be nice if it were possible to mark those tests as such. 

I'm currently using self.skipTest() to mark these subTests as special, but that's less than ideal.
History
Date User Action Args
2017-07-23 10:47:19ronaldoussorensetrecipients: + ronaldoussoren, rbcollins, ezio.melotti, michael.foord
2017-07-23 10:47:19ronaldoussorensetmessageid: <1500806839.59.0.646969271653.issue30997@psf.upfronthosting.co.za>
2017-07-23 10:47:19ronaldoussorenlinkissue30997 messages
2017-07-23 10:47:19ronaldoussorencreate