(mp: MonkeyPatch, tmp_path: Path)
| 273 | |
| 274 | |
| 275 | def test_chdir_with_str(mp: MonkeyPatch, tmp_path: Path) -> None: |
| 276 | mp.chdir(str(tmp_path)) |
| 277 | assert os.getcwd() == str(tmp_path) |
| 278 | |
| 279 | |
| 280 | def test_chdir_undo(mp: MonkeyPatch, tmp_path: Path) -> None: |