MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_c

Method test_c

testing/test_pathlib.py:195–198  ·  view source on GitHub ↗
(self, path1: Path)

Source from the content-addressed store, hash-verified

193 assert mod.__name__ == "otherdir.b"
194
195 def test_c(self, path1: Path) -> None:
196 otherdir = path1 / "otherdir"
197 mod = import_path(otherdir / "c.py", root=path1)
198 assert mod.value == "got it" # type: ignore[attr-defined]
199
200 def test_d(self, path1: Path) -> None:
201 otherdir = path1 / "otherdir"

Callers

nothing calls this directly

Calls 1

import_pathFunction · 0.90

Tested by

no test coverage detected