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.12:07:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
There is a mailing-list discusss this before:

But after checking, current subTest contextmanager won't yield subtest, so the method of with self.subTest() as sub won't work.

Another problem is, inside the subTest, if there have expectfailed, it will raise _ShouldStop, causing the after test won't run it.
Date User Action Args
2017-07-23 12:07:14louielusetrecipients: + louielu, ronaldoussoren, rbcollins, ezio.melotti, michael.foord
2017-07-23 12:07:14louielusetmessageid: <>
2017-07-23 12:07:14louielulinkissue30997 messages
2017-07-23 12:07:14louielucreate