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

Method __init__

src/_pytest/_code/code.py:196–203  ·  view source on GitHub ↗
(
        self,
        rawentry: TracebackType,
        excinfo: Optional["ReferenceType[ExceptionInfo[BaseException]]"] = None,
    )

Source from the content-addressed store, hash-verified

194 __slots__ = ("_rawentry", "_excinfo", "_repr_style")
195
196 def __init__(
197 self,
198 rawentry: TracebackType,
199 excinfo: Optional["ReferenceType[ExceptionInfo[BaseException]]"] = None,
200 ) -> None:
201 self._rawentry = rawentry
202 self._excinfo = excinfo
203 self._repr_style: Optional['Literal["short", "long"]'] = None
204
205 @property
206 def lineno(self) -> int:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected