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 gvanrossum
Recipients asvetlov, azsorkin, ezio.melotti, giampaolo.rodola, gvanrossum, michael.foord, pconnell, pitrou, rbcollins
Date 2015-04-28.16:53:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It's trivial to add to a single test or even a single TestCase subclass, yes. The use case is more that you have a ton of tests and you suspect there's a problem due to GC. Being able to call gc.collect() after each test through the flip of a flag would be useful.

But I agree it's iffy whether this belongs in the unittest package; we could add it to the CPython script, or you could request this as a feature from py.test.

If someone wants to add this to I think this issue would be the place to review the patch.
Date User Action Args
2015-04-28 16:53:17gvanrossumsetrecipients: + gvanrossum, pitrou, giampaolo.rodola, rbcollins, ezio.melotti, michael.foord, asvetlov, pconnell, azsorkin
2015-04-28 16:53:17gvanrossumsetmessageid: <>
2015-04-28 16:53:17gvanrossumlinkissue17908 messages
2015-04-28 16:53:17gvanrossumcreate