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 louielu
Recipients ezio.melotti, louielu, michael.foord, rbcollins, ronaldoussoren
Date 2017-07-23.15:04:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500822294.83.0.927479852285.issue30997@psf.upfronthosting.co.za>
In-reply-to
Content
I'm successful to add a sub.expectedFailure() to subTest, but in current API, it isn't that will done.

First, you will not get any alarm or information that there is a  test been treat as "expected failure" at the result text.

Second, it just act like you putting @unittest.expectedFailure at the top of the test.

Third, current result didn't put expected failure as a result category, so it will not show it at the result if we skip some test in the subTest, and it will need to changed to add an expected failure list to handle multiple expected failure in a test.
History
Date User Action Args
2017-07-23 15:04:54louielusetrecipients: + louielu, ronaldoussoren, rbcollins, ezio.melotti, michael.foord
2017-07-23 15:04:54louielusetmessageid: <1500822294.83.0.927479852285.issue30997@psf.upfronthosting.co.za>
2017-07-23 15:04:54louielulinkissue30997 messages
2017-07-23 15:04:54louielucreate