Skip to content

Commit ce68f8e

Browse files
committed
use zarr.create instead of zarr.open_array
1 parent 86c2da6 commit ce68f8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_v2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def test_simple(store: StorePath) -> None:
5050
],
5151
)
5252
def test_implicit_fill_value(store: MemoryStore, dtype: str, fill_value: Any) -> None:
53-
arr = zarr.open_array(store=store, shape=(4,), fill_value=None, zarr_format=2, dtype=dtype)
53+
arr = zarr.create(store=store, shape=(4,), fill_value=None, zarr_format=2, dtype=dtype)
5454
assert arr.metadata.fill_value is None
5555
assert arr.metadata.to_dict()["fill_value"] is None
5656
result = arr[:]

0 commit comments

Comments
 (0)