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

Method __repr__

src/_pytest/legacypath.py:250–251  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

248 return self._pytester.spawn(cmd, expect_timeout=expect_timeout)
249
250 def __repr__(self) -> str:
251 return f"<Testdir {self.tmpdir!r}>"
252
253 def __str__(self) -> str:
254 return str(self.tmpdir)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected