(mp: MonkeyPatch, tmp_path: Path)
| 285 | |
| 286 | |
| 287 | def test_chdir_double_undo(mp: MonkeyPatch, tmp_path: Path) -> None: |
| 288 | mp.chdir(str(tmp_path)) |
| 289 | mp.undo() |
| 290 | os.chdir(tmp_path) |
| 291 | mp.undo() |
| 292 | assert os.getcwd() == str(tmp_path) |
| 293 | |
| 294 | |
| 295 | def test_issue185_time_breaks(pytester: Pytester) -> None: |