MCPcopy
hub / github.com/pytest-dev/pytest / test_pyimport_c

Method test_pyimport_c

testing/_py/test_local.py:1061–1064  ·  view source on GitHub ↗
(self, path1)

Source from the content-addressed store, hash-verified

1059 assert mod.__name__ == "otherdir.b"
1060
1061 def test_pyimport_c(self, path1):
1062 otherdir = path1.join("otherdir")
1063 mod = otherdir.join("c.py").pyimport()
1064 assert mod.value == "got it"
1065
1066 def test_pyimport_d(self, path1):
1067 otherdir = path1.join("otherdir")

Callers

nothing calls this directly

Calls 2

joinMethod · 0.80
pyimportMethod · 0.80

Tested by

no test coverage detected