Message298224
The alternate solution is to remove all references to test instances before calling tearDownClass().
Interesting, that this warning is occurred only in the leak hunting mode. In normal cases test instances are removed from a testsuite, but regrtest hacks unittest and disables this in the leak hunting mode (see the line "unittest.BaseTestSuite._cleanup = False" in Lib/test/libregrtest/setup.py). See issue11798. |
|
| Date |
User |
Action |
Args |
| 2017-07-12 15:12:19 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vstinner |
| 2017-07-12 15:12:18 | serhiy.storchaka | set | messageid: <1499872338.98.0.0168433367311.issue30908@psf.upfronthosting.co.za> |
| 2017-07-12 15:12:18 | serhiy.storchaka | link | issue30908 messages |
| 2017-07-12 15:12:18 | serhiy.storchaka | create | |
|