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

Method lineno

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

Source from the content-addressed store, hash-verified

137
138 @property
139 def lineno(self) -> int:
140 return self.raw.f_lineno - 1
141
142 @property
143 def f_globals(self) -> Dict[str, Any]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected