[pypy-svn] r76863 - pypy/trunk/pypy/module/posix/test

arigo at codespeak.net arigo at codespeak.net
Sat Sep 4 11:44:20 CEST 2010


Author: arigo
Date: Sat Sep  4 11:44:18 2010
New Revision: 76863

Modified:
   pypy/trunk/pypy/module/posix/test/test_posix2.py
Log:
Skip this test.  The problem was seen on Linux 2.6.31 on tannit.


Modified: pypy/trunk/pypy/module/posix/test/test_posix2.py
==============================================================================
--- pypy/trunk/pypy/module/posix/test/test_posix2.py	(original)
+++ pypy/trunk/pypy/module/posix/test/test_posix2.py	Sat Sep  4 11:44:18 2010
@@ -324,6 +324,12 @@
     if hasattr(__import__(os.name), "openpty"):
         def test_openpty(self):
             os = self.posix
+            g = os.popen("uname -r", "r")
+            version = g.read()
+            g.close()
+            if version.startswith('2.6.31'):
+                skip("openpty() deadlocks completely on "
+                     "at least some Linux 2.6.31")
             master_fd, slave_fd = self.posix.openpty()
             try:
                 assert isinstance(master_fd, int)



More information about the Pypy-commit mailing list