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

Method test_symlink_keywords

Lib/test/test_os.py:424–430  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

422 os.close(f)
423
424 def test_symlink_keywords(self):
425 symlink = support.get_attribute(os, "symlink")
426 try:
427 symlink(src='target', dst=os_helper.TESTFN,
428 target_is_directory=False, dir_fd=None)
429 except (NotImplementedError, OSError):
430 pass # No OS support or unprivileged user
431
432 @unittest.skipUnless(hasattr(os, 'copy_file_range'), 'test needs os.copy_file_range()')
433 def test_copy_file_range_invalid_values(self):

Callers

nothing calls this directly

Calls 1

symlinkFunction · 0.50

Tested by

no test coverage detected