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

Method test_c

testing/test_pathlib.py:271–276  ·  view source on GitHub ↗
(self, path1: Path, ns_param: bool)

Source from the content-addressed store, hash-verified

269 assert mod.__name__ == "otherdir.b"
270
271 def test_c(self, path1: Path, ns_param: bool) -> None:
272 otherdir = path1 / "otherdir"
273 mod = import_path(
274 otherdir / "c.py", root=path1, consider_namespace_packages=ns_param
275 )
276 assert mod.value == "got it"
277
278 def test_d(self, path1: Path, ns_param: bool) -> None:
279 otherdir = path1 / "otherdir"

Callers

nothing calls this directly

Calls 1

import_pathFunction · 0.90

Tested by

no test coverage detected