summaryrefslogtreecommitdiff
path: root/test/test_oddball.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-07-04 09:35:21 -0400
committerNed Batchelder <ned@nedbatchelder.com>2012-07-04 09:35:21 -0400
commit1115b784fdbb2bfbf4555f590e569b80a6899b6e (patch)
treed233c3ed12ccd84db346e43843500e3bd352153e /test/test_oddball.py
parent9c7594514f50263a14fb15514078c1bc0f273bd0 (diff)
downloadpython-coveragepy-1115b784fdbb2bfbf4555f590e569b80a6899b6e.tar.gz
Add a note to MemoryLeakTest about its difficulties.
Diffstat (limited to 'test/test_oddball.py')
-rw-r--r--test/test_oddball.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/test_oddball.py b/test/test_oddball.py
index 859648f..724ae86 100644
--- a/test/test_oddball.py
+++ b/test/test_oddball.py
@@ -129,7 +129,13 @@ class RecursionTest(CoverageTest):
class MemoryLeakTest(CoverageTest):
- """Attempt the impossible: test that memory doesn't leak."""
+ """Attempt the impossible: test that memory doesn't leak.
+
+ Note: this test is truly unusual, and may fail unexpectedly.
+ In particular, it is known to fail on PyPy if test_oddball.py is run in
+ isolation: https://bitbucket.org/ned/coveragepy/issue/186
+
+ """
def test_for_leaks(self):
lines = list(range(301, 315))