From 8c508612ec72a073026e59b48656c715e4557c60 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Mon, 14 Jul 2014 09:17:04 +0200 Subject: [PATCH] with pypy this tests leaks one FD but it's probably a residual effect of the testing machinery and Pypy's lazy GC. --- testing/test_doctest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testing/test_doctest.py b/testing/test_doctest.py index 1d4e41333..c6c05a45d 100644 --- a/testing/test_doctest.py +++ b/testing/test_doctest.py @@ -80,6 +80,8 @@ class TestDoctests: assert isinstance(items[0].parent, DoctestModule) assert items[0].parent is items[1].parent + @pytest.mark.xfail('hasattr(sys, "pypy_version_info")', reason= + "pypy leaks one FD") def test_simple_doctestfile(self, testdir): p = testdir.maketxtfile(test_doc=""" >>> x = 1