MCPcopy Index your code
hub / github.com/pre-commit/pre-commit / in_tmpdir

Function in_tmpdir

tests/conftest.py:39–42  ·  view source on GitHub ↗
(tempdir_factory)

Source from the content-addressed store, hash-verified

37
38@pytest.fixture
39def in_tmpdir(tempdir_factory):
40 path = tempdir_factory.get()
41 with cwd(path):
42 yield path
43
44
45@pytest.fixture

Callers

nothing calls this directly

Calls 2

cwdFunction · 0.90
getMethod · 0.45

Tested by

no test coverage detected