[Pytest-commit] commit/pytest: hpk42: with pypy this tests leaks one FD but it's probably a residual effect of the testing machinery and Pypy's lazy GC.

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Mon Jul 14 09:17:14 CEST 2014


1 new commit in pytest:

https://bitbucket.org/hpk42/pytest/commits/d75e511c62f9/
Changeset:   d75e511c62f9
User:        hpk42
Date:        2014-07-14 09:17:04
Summary:     with pypy this tests leaks one FD but it's probably a residual effect of the testing machinery and Pypy's lazy GC.
Affected #:  1 file

diff -r 78792abae40b6b4e4d077ccf62389e8aee9649ba -r d75e511c62f93da3c1c024b9972e81c7d935fc9b testing/test_doctest.py
--- a/testing/test_doctest.py
+++ b/testing/test_doctest.py
@@ -80,6 +80,8 @@
             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

Repository URL: https://bitbucket.org/hpk42/pytest/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.


More information about the pytest-commit mailing list