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

Class ReprExceptionInfo

src/_pytest/_code/code.py:1324–1331  ·  view source on GitHub ↗

A single exception with optional extra details (function arguments, function locals, file location) and possible extra line and sections emitted at the end.

Source from the content-addressed store, hash-verified

1322
1323@dataclasses.dataclass(eq=False)
1324class ReprExceptionInfo(ExceptionRepr):
1325 """A single exception with optional extra details (function arguments,
1326 function locals, file location) and possible extra line and sections emitted
1327 at the end."""
1328
1329 def toterminal(self, tw: TerminalWriter) -> None:
1330 self.reprtraceback.toterminal(tw)
1331 super().toterminal(tw)
1332
1333
1334@dataclasses.dataclass(eq=False)

Callers 2

_report_kwargs_from_jsonFunction · 0.90
getreprMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected