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

Method __repr__

src/_pytest/main.py:488–495  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

486 return session
487
488 def __repr__(self) -> str:
489 return "<%s %s exitstatus=%r testsfailed=%d testscollected=%d>" % (
490 self.__class__.__name__,
491 self.name,
492 getattr(self, "exitstatus", "<UNSET>"),
493 self.testsfailed,
494 self.testscollected,
495 )
496
497 @property
498 def startpath(self) -> Path:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected