def test_dirchange(self, tmp_path: Path) -> None: tmp = tmp_path tmp.joinpath("dir").mkdir() tmp.joinpath("dir", "hello.py").touch() sd = StatRecorder([py.path.local(tmp)]) assert not sd.fil(py.path.local(tmp / "dir"))
def test_dirchange(self, tmpdir): tmp = tmpdir tmp.ensure("dir", "hello.py") sd = StatRecorder([tmp]) assert not sd.fil(tmp.join("dir"))