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

Method path

src/_pytest/_code/code.py:232–234  ·  view source on GitHub ↗

Path to the source code.

(self)

Source from the content-addressed store, hash-verified

230
231 @property
232 def path(self) -> Union[Path, str]:
233 """Path to the source code."""
234 return self.frame.code.path
235
236 @property
237 def locals(self) -> Dict[str, Any]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected