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

Method test_architecture_via_symlink

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

Source from the content-addressed store, hash-verified

124 @os_helper.skip_unless_symlink
125 @support.requires_subprocess()
126 def test_architecture_via_symlink(self): # issue3762
127 with support.PythonSymlink() as py:
128 cmd = "-c", "import platform; print(platform.architecture())"
129 self.assertEqual(py.call_real(*cmd), py.call_link(*cmd))
130
131 def test_platform(self):
132 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