diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-12-04 16:13:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-04 16:13:33 (GMT) |
commit | 4752e65250bce60b97d5af702d586092d02fbf58 (patch) | |
tree | d4b58120f7798c7faeb916c8b9ff32ed0127e04c /Lib/test/eintrdata | |
parent | f92c7aa1ae81efa475b5aecf66e4711ef0f52c4c (diff) | |
download | cpython-4752e65250bce60b97d5af702d586092d02fbf58.zip cpython-4752e65250bce60b97d5af702d586092d02fbf58.tar.gz cpython-4752e65250bce60b97d5af702d586092d02fbf58.tar.bz2 |
bpo-35363, test_eintr: skip test_open() on macOS (GH-10896)
Diffstat (limited to 'Lib/test/eintrdata')
-rw-r--r-- | Lib/test/eintrdata/eintr_tester.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/test/eintrdata/eintr_tester.py b/Lib/test/eintrdata/eintr_tester.py index aa7cfd1..25c169b 100644 --- a/Lib/test/eintrdata/eintr_tester.py +++ b/Lib/test/eintrdata/eintr_tester.py @@ -349,16 +349,18 @@ class SocketEINTRTest(EINTRBaseTest): 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) |