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

Method getfirstlinesource

src/_pytest/_code/code.py:283–284  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

281 return self.frame.f_locals
282
283 def getfirstlinesource(self) -> int:
284 return self.frame.code.firstlineno
285
286 def getsource(
287 self, astcache: dict[str | Path, ast.AST] | None = None

Callers 1

getsourceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected