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

Method tmpdir

src/_pytest/legacypath.py:59–61  ·  view source on GitHub ↗

Temporary directory where tests are executed.

(self)

Source from the content-addressed store, hash-verified

57
58 @property
59 def tmpdir(self) -> LEGACY_PATH:
60 """Temporary directory where tests are executed."""
61 return legacy_path(self._pytester.path)
62
63 @property
64 def test_tmproot(self) -> LEGACY_PATH:

Callers

nothing calls this directly

Calls 1

legacy_pathFunction · 0.90

Tested by

no test coverage detected