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

Method test_symlink

Lib/test/test_sysconfig.py:403–406  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

401 @skip_unless_symlink
402 @requires_subprocess()
403 def test_symlink(self): # Issue 7880
404 with PythonSymlink() as py:
405 cmd = "-c", "import sysconfig; print(sysconfig.get_platform())"
406 self.assertEqual(py.call_real(*cmd), py.call_link(*cmd))
407
408 def test_user_similar(self):
409 # Issue #8759: make sure the posix scheme for the users

Callers

nothing calls this directly

Calls 4

PythonSymlinkClass · 0.90
call_realMethod · 0.80
call_linkMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected