mirror of https://github.com/python/cpython
Blocked revisions 88494 via svnmerge
........ r88494 | brett.cannon | 2011-02-21 19:04:06 -0800 (Mon, 21 Feb 2011) | 10 lines Issue #10992: make tests pass when run under coverage. Various tests fail when run under coverage. A primary culprit is refcount tests which fail as the counts are thrown off by the coverage code. A new decorator -- test.support.refcount_test -- is used to decorate tests which test refcounts and to skip them when running under coverage. Other tests simply fail because of changes in the system (e.g., __local__ suddenly appearing). Thanks to Kristian Vlaardingerbroek for helping to diagnose the test failures. ........
This commit is contained in:
parent
97696cbf36
commit
d8b64788ce