(path: Path)
| 167 | |
| 168 | @contextmanager |
| 169 | def interrupted(path: Path) -> Generator[Iterator[os.DirEntry[str]]]: |
| 170 | with scandir(path) as entries: |
| 171 | yield invalidated(entries) |
| 172 | |
| 173 | scans = mocker.patch("os.scandir", autospec=True, side_effect=interrupted) |
| 174 | clock = mocker.patch("filelock._sqlite._links.time", autospec=True).monotonic |
nothing calls this directly
no test coverage detected