Brett Cannon <br...@python.org> added the comment:

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.

----------
keywords: +patch
Added file: http://bugs.python.org/file20566/test_gc.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10992>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to