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

Method __repr__

src/_pytest/outcomes.py:43–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

41 self.pytrace = pytrace
42
43 def __repr__(self) -> str:
44 if self.msg is not None:
45 return self.msg
46 return f"<{self.__class__.__name__} instance>"
47
48 __str__ = __repr__
49

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected