MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_ptsname_r

Method test_ptsname_r

Lib/test/test_posix.py:2269–2274  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2267 os.stat("file", dir_fd=0)
2268
2269 def test_ptsname_r(self):
2270 self._verify_available("HAVE_PTSNAME_R")
2271 if self.mac_ver >= (10, 13, 4):
2272 self.assertIn("HAVE_PTSNAME_R", posix._have_functions)
2273 else:
2274 self.assertNotIn("HAVE_PTSNAME_R", posix._have_functions)
2275
2276 def test_access(self):
2277 self._verify_available("HAVE_FACCESSAT")

Callers

nothing calls this directly

Calls 3

_verify_availableMethod · 0.95
assertInMethod · 0.80
assertNotInMethod · 0.80

Tested by

no test coverage detected