Skip to content

Commit 99835d6

Browse files
committed
Fix store in test
1 parent ec646b9 commit 99835d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_store/test_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def test_different_open_mode(tmp_path: LEGACY_PATH) -> None:
287287
# Test with a store that doesn't implement .with_read_only()
288288
zarr_path = tmp_path / "foo.zarr"
289289
zip_store = ZipStore(zarr_path, mode="w")
290-
zarr.create((100,), store=store, zarr_format=2, path="a")
290+
zarr.create((100,), store=zip_store, zarr_format=2, path="a")
291291
with pytest.raises(
292292
ValueError,
293293
match="Store is not read-only but mode is 'r'. Unable to create a read-only copy of the store. Please use a read-only store or a storage class that implements .with_read_only().",

0 commit comments

Comments
 (0)