Skip to content

Commit 4752e65

Browse files
authored
bpo-35363, test_eintr: skip test_open() on macOS (GH-10896)
1 parent f92c7aa commit 4752e65

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Lib/test/eintrdata/eintr_tester.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -349,16 +349,18 @@ def python_open(self, path):
349349
fp = open(path, 'w')
350350
fp.close()
351351

352+
@unittest.skipIf(sys.platform == "darwin",
353+
"hangs under macOS; see bpo-25234, bpo-35363")
352354
def test_open(self):
353355
self._test_open("fp = open(path, 'r')\nfp.close()",
354356
self.python_open)
355357

356-
@unittest.skipIf(sys.platform == 'darwin', "hangs under OS X; see issue #25234")
357358
def os_open(self, path):
358359
fd = os.open(path, os.O_WRONLY)
359360
os.close(fd)
360361

361-
@unittest.skipIf(sys.platform == "darwin", "hangs under OS X; see issue #25234")
362+
@unittest.skipIf(sys.platform == "darwin",
363+
"hangs under macOS; see bpo-25234, bpo-35363")
362364
def test_os_open(self):
363365
self._test_open("fd = os.open(path, os.O_RDONLY)\nos.close(fd)",
364366
self.os_open)

0 commit comments

Comments
 (0)