(tmp_path)
| 123 | |
| 124 | |
| 125 | def test_cached_path_missing_local(tmp_path): |
| 126 | # absolute path |
| 127 | missing_file = str(tmp_path.resolve() / "__missing_file__.txt") |
| 128 | with pytest.raises(FileNotFoundError): |
| 129 | cached_path(missing_file) |
| 130 | # relative path |
| 131 | missing_file = "./__missing_file__.txt" |
| 132 | with pytest.raises(FileNotFoundError): |
| 133 | cached_path(missing_file) |
| 134 | |
| 135 | |
| 136 | def test_get_from_cache_fsspec(tmpfs_file): |
nothing calls this directly
no test coverage detected