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

Method relline

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

Source from the content-addressed store, hash-verified

216
217 @property
218 def relline(self) -> int:
219 return self.lineno - self.frame.code.firstlineno
220
221 def __repr__(self) -> str:
222 return "<TracebackEntry %s:%d>" % (self.frame.code.path, self.lineno + 1)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected