[issue10992] tests failing when run under coverage

Brett Cannon report at bugs.python.org
Fri Jan 28 06:37:03 CET 2011


Brett Cannon <brett at 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 <report at bugs.python.org>
<http://bugs.python.org/issue10992>
_______________________________________


More information about the Python-bugs-list mailing list