Issue #25234: Skip test_eintr.test_open() under OS X to avoid hanging
This commit is contained in:
parent
b0db3718d4
commit
4b18dd339a
|
@ -341,6 +341,7 @@ class SocketEINTRTest(EINTRBaseTest):
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue