MCPcopy Index your code
hub / github.com/python/cpython / test_open

Method test_open

Lib/test/_test_eintr.py:373–375  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

371 @unittest.skipIf(sys.platform == "darwin",
372 "hangs under macOS; see bpo-25234, bpo-35363")
373 def test_open(self):
374 self._test_open("fp = open(path, 'r')\nfp.close()",
375 self.python_open)
376
377 def os_open(self, path):
378 fd = os.open(path, os.O_WRONLY)

Callers

nothing calls this directly

Calls 1

_test_openMethod · 0.95

Tested by

no test coverage detected