]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-35363, test_eintr: skip test_open() on macOS (GH-10896)
authorVictor Stinner <vstinner@redhat.com>
Tue, 4 Dec 2018 16:13:33 +0000 (17:13 +0100)
committerGitHub <noreply@github.com>
Tue, 4 Dec 2018 16:13:33 +0000 (17:13 +0100)
Lib/test/eintrdata/eintr_tester.py

index aa7cfd14d9f9c109ab855f41a7744224d49174c1..25c169bde5005f5287a9c26a0c90e4c7b603b1bb 100644 (file)
@@ -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)