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

Method lineno

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

Source from the content-addressed store, hash-verified

204
205 @property
206 def lineno(self) -> int:
207 return self._rawentry.tb_lineno - 1
208
209 def set_repr_style(self, mode: "Literal['short', 'long']") -> None:
210 assert mode in ("short", "long")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected