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

Method __repr__

src/_pytest/runner.py:360–363  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

358 )
359
360 def __repr__(self) -> str:
361 if self.excinfo is None:
362 return f"<CallInfo when={self.when!r} result: {self._result!r}>"
363 return f"<CallInfo when={self.when!r} excinfo={self.excinfo!r}>"
364
365
366def pytest_runtest_makereport(item: Item, call: CallInfo[None]) -> TestReport:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected