(self, tmp_path: Path)
| 85 | assert changed |
| 86 | |
| 87 | def test_pycremoval(self, tmp_path: Path) -> None: |
| 88 | tmp = tmp_path |
| 89 | hello = tmp / "hello.py" |
| 90 | hello.touch() |
| 91 | sd = StatRecorder([tmp]) |
| 92 | changed = sd.check() |
| 93 | assert not changed |
| 94 | |
| 95 | pycfile = hello.with_suffix(".pyc") |
| 96 | pycfile.touch() |
| 97 | hello.write_text("world") |
| 98 | changed = sd.check() |
| 99 | assert changed |
| 100 | assert not pycfile.exists() |
| 101 | |
| 102 | def test_waitonchange( |
| 103 | self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch |
nothing calls this directly
no test coverage detected