with pypy this tests leaks one FD but it's probably a residual effect of the testing machinery and Pypy's lazy GC.
This commit is contained in:
parent
42804c52e8
commit
8c508612ec
|
@ -80,6 +80,8 @@ class TestDoctests:
|
||||||
assert isinstance(items[0].parent, DoctestModule)
|
assert isinstance(items[0].parent, DoctestModule)
|
||||||
assert items[0].parent is items[1].parent
|
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):
|
def test_simple_doctestfile(self, testdir):
|
||||||
p = testdir.maketxtfile(test_doc="""
|
p = testdir.maketxtfile(test_doc="""
|
||||||
>>> x = 1
|
>>> x = 1
|
||||||
|
|
Loading…
Reference in New Issue