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 serhiy.storchaka
Recipients serhiy.storchaka, vstinner
Date 2017-07-12.15:12:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1499872338.98.0.0168433367311.issue30908@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-07-12 15:12:19serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner
2017-07-12 15:12:18serhiy.storchakasetmessageid: <1499872338.98.0.0168433367311.issue30908@psf.upfronthosting.co.za>
2017-07-12 15:12:18serhiy.storchakalinkissue30908 messages
2017-07-12 15:12:18serhiy.storchakacreate