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

Method _node_location_to_relpath

src/_pytest/main.py:686–688  ·  view source on GitHub ↗
(self, node_path: Path)

Source from the content-addressed store, hash-verified

684 return self.config.invocation_params.dir
685
686 def _node_location_to_relpath(self, node_path: Path) -> str:
687 # bestrelpath is a quite slow function.
688 return self._bestrelpathcache[node_path]
689
690 @hookimpl(tryfirst=True)
691 def pytest_collectstart(self) -> None:

Callers 1

locationMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected