summaryrefslogtreecommitdiffstats
path: root/Lib/test/eintrdata
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2015-12-29 01:23:35 (GMT)
committerBrett Cannon <brett@python.org>2015-12-29 01:23:35 (GMT)
commit838629a1fea6ec30342522dc0b087fc17872f1f0 (patch)
tree93ea5bc12623657dc66de3c87801e264bb65321d /Lib/test/eintrdata
parent3bbad12b5bd41235bfb6e675606b046d30296eed (diff)
downloadcpython-838629a1fea6ec30342522dc0b087fc17872f1f0.zip
cpython-838629a1fea6ec30342522dc0b087fc17872f1f0.tar.gz
cpython-838629a1fea6ec30342522dc0b087fc17872f1f0.tar.bz2
Issue #25234: Skip test_eintr.test_os_open under OS X.
Test inconsistently hangs.
Diffstat (limited to 'Lib/test/eintrdata')
-rw-r--r--Lib/test/eintrdata/eintr_tester.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/eintrdata/eintr_tester.py b/Lib/test/eintrdata/eintr_tester.py
index 531d576..e1ed3da 100644
--- a/Lib/test/eintrdata/eintr_tester.py
+++ b/Lib/test/eintrdata/eintr_tester.py
@@ -345,6 +345,7 @@ class SocketEINTRTest(EINTRBaseTest):
fd = os.open(path, os.O_WRONLY)
os.close(fd)
+ @unittest.skipIf(sys.platform == "darwin", "hangs under OS X; see issue #25234")
def test_os_open(self):
self._test_open("fd = os.open(path, os.O_RDONLY)\nos.close(fd)",
self.os_open)