MCPcopy Create free account
hub / github.com/pallets/flask / modules_tmp_path

Function modules_tmp_path

tests/conftest.py:131–136  ·  view source on GitHub ↗

A temporary directory added to sys.path.

(tmp_path, monkeypatch)

Source from the content-addressed store, hash-verified

129
130@pytest.fixture
131def modules_tmp_path(tmp_path, monkeypatch):
132 """A temporary directory added to sys.path."""
133 rv = tmp_path / "modules_tmp"
134 rv.mkdir()
135 monkeypatch.syspath_prepend(os.fspath(rv))
136 return rv
137
138
139@pytest.fixture

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected