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

Method test_os_open

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

Source from the content-addressed store, hash-verified

383 @unittest.skipIf(sys.platform.startswith('netbsd'),
384 "hangs on NetBSD; see gh-137397")
385 def test_os_open(self):
386 self._test_open("fd = os.open(path, os.O_RDONLY)\nos.close(fd)",
387 self.os_open)
388
389
390@unittest.skipUnless(hasattr(signal, "setitimer"), "requires setitimer()")

Callers

nothing calls this directly

Calls 1

_test_openMethod · 0.95

Tested by

no test coverage detected