From 4b18dd339a9919e6f5fa3485c8b871ed19d9e391 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Fri, 22 Jan 2016 15:55:56 -0800 Subject: [PATCH] Issue #25234: Skip test_eintr.test_open() under OS X to avoid hanging --- Lib/test/eintrdata/eintr_tester.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/eintrdata/eintr_tester.py b/Lib/test/eintrdata/eintr_tester.py index e1ed3da8289..1cb86e5be0f 100644 --- a/Lib/test/eintrdata/eintr_tester.py +++ b/Lib/test/eintrdata/eintr_tester.py @@ -341,6 +341,7 @@ class SocketEINTRTest(EINTRBaseTest): self._test_open("fp = open(path, 'r')\nfp.close()", self.python_open) + @unittest.skipIf(sys.platform == 'darwin', "hangs under OS X; see issue #25234") def os_open(self, path): fd = os.open(path, os.O_WRONLY) os.close(fd)