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