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 brett.cannon
Recipients Kristian.Vlaardingerbroek, brett.cannon
Date 2011-01-28.05:37:02
SpamBayes Score 1.7376293e-05
Marked as misclassified No
Message-id <1296193023.96.0.792634498669.issue10992@psf.upfronthosting.co.za>
In-reply-to
Content
Attached is a patch against test_gc that shows what I think should be done for the tests failing because of refcounts. Basically I added a refcount_test decorator to test.support that skips a decorated test if it is not being run under CPython and otherwise unsets the trace function.

This should work for all tests that are discovered to fail because of refcounts.
History
Date User Action Args
2011-01-28 05:37:04brett.cannonsetrecipients: + brett.cannon, Kristian.Vlaardingerbroek
2011-01-28 05:37:03brett.cannonsetmessageid: <1296193023.96.0.792634498669.issue10992@psf.upfronthosting.co.za>
2011-01-28 05:37:03brett.cannonlinkissue10992 messages
2011-01-28 05:37:03brett.cannoncreate