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

Method test_architecture_via_symlink

Lib/test/test_platform.py:91–94  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

89 @os_helper.skip_unless_symlink
90 @support.requires_subprocess()
91 def test_architecture_via_symlink(self): # issue3762
92 with support.PythonSymlink() as py:
93 cmd = "-c", "import platform; print(platform.architecture())"
94 self.assertEqual(py.call_real(*cmd), py.call_link(*cmd))
95
96 def test_platform(self):
97 for aliased in (False, True):

Callers

nothing calls this directly

Calls 3

call_realMethod · 0.80
call_linkMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected