[Python-checkins] bpo-35363, test_eintr: skip test_open() on macOS (GH-10896) (GH-10911)
Victor Stinner
webhook-mailer at python.org
Tue Dec 4 21:03:31 EST 2018
https://github.com/python/cpython/commit/c93e3b05d5672dc9e8d6e2f2dce332799d5b95d2
commit: c93e3b05d5672dc9e8d6e2f2dce332799d5b95d2
branch: 3.7
author: Victor Stinner <vstinner at redhat.com>
committer: GitHub <noreply at github.com>
date: 2018-12-05T03:03:28+01:00
summary:
bpo-35363, test_eintr: skip test_open() on macOS (GH-10896) (GH-10911)
(cherry picked from commit 4752e65250bce60b97d5af702d586092d02fbf58)
files:
M Lib/test/eintrdata/eintr_tester.py
diff --git a/Lib/test/eintrdata/eintr_tester.py b/Lib/test/eintrdata/eintr_tester.py
index aa7cfd14d9f9..25c169bde500 100644
--- a/Lib/test/eintrdata/eintr_tester.py
+++ b/Lib/test/eintrdata/eintr_tester.py
@@ -349,16 +349,18 @@ def python_open(self, path):
fp = open(path, 'w')
fp.close()
+ @unittest.skipIf(sys.platform == "darwin",
+ "hangs under macOS; see bpo-25234, bpo-35363")
def test_open(self):
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)
- @unittest.skipIf(sys.platform == "darwin", "hangs under OS X; see issue #25234")
+ @unittest.skipIf(sys.platform == "darwin",
+ "hangs under macOS; see bpo-25234, bpo-35363")
def test_os_open(self):
self._test_open("fd = os.open(path, os.O_RDONLY)\nos.close(fd)",
self.os_open)
More information about the Python-checkins
mailing list