Skip to content

Commit 5fc371e

Browse files
committed
Fix errr raised when opening non-existent path
1 parent 4dd3f7e commit 5fc371e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ async def test_open_array(memory_store: MemoryStore, zarr_format: ZarrFormat) ->
191191
assert z.read_only
192192

193193
# path not found
194-
with pytest.raises(NodeNotFoundError):
194+
with pytest.raises(FileNotFoundError):
195195
zarr.api.synchronous.open(store="doesnotexist", mode="r", zarr_format=zarr_format)
196196

197197

0 commit comments

Comments
 (0)