mirror of
https://github.com/python/cpython.git
synced 2025-07-23 19:25:40 +00:00
Issue #25234: Skip test_eintr.test_open() under OS X to avoid hanging
This commit is contained in:
parent
b0db3718d4
commit
4b18dd339a
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue