Message298899
There is a mailing-list discusss this before:
https://mail.python.org/pipermail/python-list/2016-June/710575.html
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:14 | louielu | set | recipients:
+ louielu, ronaldoussoren, rbcollins, ezio.melotti, michael.foord |
2017-07-23 12:07:14 | louielu | set | messageid: <1500811634.48.0.0674461789241.issue30997@psf.upfronthosting.co.za> |
2017-07-23 12:07:14 | louielu | link | issue30997 messages |
2017-07-23 12:07:14 | louielu | create | |
|