diff options
| author | Victor Stinner <vstinner@redhat.com> | 2018-12-05 03:03:21 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-05 03:03:21 +0100 |
| commit | 93d038c91dc3075dd34b41ce6b6fb4ea07fbb8c3 (patch) | |
| tree | a2f3fdb33abe1b10eb03679ab76b1f7e9866db17 | |
| parent | 65a5eff67474703329477b070d9c081fee17c69c (diff) | |
| download | cpython-git-93d038c91dc3075dd34b41ce6b6fb4ea07fbb8c3.tar.gz | |
bpo-35363, test_eintr: skip test_open() on macOS (GH-10896) (GH-10912)
(cherry picked from commit 4752e65250bce60b97d5af702d586092d02fbf58)
| -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 aa7cfd14d9..25c169bde5 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) |
