Skip to content

Commit 1853231

Browse files
committed
Update expected error
1 parent 49c3955 commit 1853231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_store/test_fsspec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ def test_open_fsmap_file_raises(tmp_path: pathlib.Path) -> None:
365365
fsspec = pytest.importorskip("fsspec.implementations.local")
366366
fs = fsspec.LocalFileSystem(auto_mkdir=False)
367367
mapper = fs.get_mapper(tmp_path)
368-
with pytest.raises(ValueError, match="LocalFilesystem .*"):
368+
with pytest.raises(FileNotFoundError, match="No such file or directory: .*"):
369369
array_roundtrip(mapper)
370370

371371

0 commit comments

Comments
 (0)