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

Method _node_location_to_relpath

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

Source from the content-addressed store, hash-verified

503 return self.config.invocation_params.dir
504
505 def _node_location_to_relpath(self, node_path: Path) -> str:
506 # bestrelpath is a quite slow function.
507 return self._bestrelpathcache[node_path]
508
509 @hookimpl(tryfirst=True)
510 def pytest_collectstart(self) -> None:

Callers 1

locationMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected