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

Function test_chdir_with_path_local

testing/test_monkeypatch.py:270–272  ·  view source on GitHub ↗
(mp: MonkeyPatch, tmp_path: Path)

Source from the content-addressed store, hash-verified

268
269
270def test_chdir_with_path_local(mp: MonkeyPatch, tmp_path: Path) -> None:
271 mp.chdir(tmp_path)
272 assert os.getcwd() == str(tmp_path)
273
274
275def test_chdir_with_str(mp: MonkeyPatch, tmp_path: Path) -> None:

Callers

nothing calls this directly

Calls 1

chdirMethod · 0.45

Tested by

no test coverage detected