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

Function pytest_pycollect_makemodule

src/_pytest/python.py:215–216  ·  view source on GitHub ↗
(module_path: Path, parent)

Source from the content-addressed store, hash-verified

213
214
215def pytest_pycollect_makemodule(module_path: Path, parent) -> Module:
216 return Module.from_parent(parent, path=module_path)
217
218
219@hookimpl(trylast=True)

Callers

nothing calls this directly

Calls 1

from_parentMethod · 0.45

Tested by

no test coverage detected