summaryrefslogtreecommitdiff
path: root/Misc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2011-02-22 03:04:06 +0000
committerBrett Cannon <bcannon@gmail.com>2011-02-22 03:04:06 +0000
commit962795543b63750027d4348b64d594dffeb08c64 (patch)
tree2dec48140bf993ee215b3d45cf7a3bf613ac4ecb /Misc
parent8e28f05f0e217b961c49a04b6a8df0a4a4be90a0 (diff)
downloadcpython-962795543b63750027d4348b64d594dffeb08c64.tar.gz
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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index f3473868cc..bcfeb4a2cd 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -54,6 +54,8 @@ Build
Tests
-----
+- Issue #10992: Make tests pass under coverage.
+
- Issue #10826: Prevent sporadic failure in test_subprocess on Solaris due
to open door files.