Issue #25234: Skip test_eintr.test_open() under OS X to avoid hanging

This commit is contained in:
Brett Cannon 2016-01-22 15:55:56 -08:00
parent b0db3718d4
commit 4b18dd339a
1 changed files with 1 additions and 0 deletions

View File

@ -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)