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

Method _verify_available

Lib/test/test_posix.py:2244–2246  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

2242 self.mac_ver = tuple(int(part) for part in platform.mac_ver()[0].split("."))
2243
2244 def _verify_available(self, name):
2245 if name not in self.available:
2246 raise unittest.SkipTest(f"{name} not weak-linked")
2247
2248 def test_pwritev(self):
2249 self._verify_available("HAVE_PWRITEV")

Callers 15

test_pwritevMethod · 0.95
test_statMethod · 0.95
test_ptsname_rMethod · 0.95
test_accessMethod · 0.95
test_chmodMethod · 0.95
test_chownMethod · 0.95
test_linkMethod · 0.95
test_listdir_scandirMethod · 0.95
test_mkdirMethod · 0.95
test_mkfifoMethod · 0.95
test_mknodMethod · 0.95
test_rename_replaceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected