From 31dd92b34e3d09b2110e1592d2931d7572b07191 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Wed, 4 Jul 2012 09:35:21 -0400 Subject: Add a note to MemoryLeakTest about its difficulties. --- test/test_oddball.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/test_oddball.py b/test/test_oddball.py index 859648fa..724ae863 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)) -- cgit v1.2.1