Skip to content

Commit 86c2da6

Browse files
committed
fix v2 fill value test
1 parent d087e9b commit 86c2da6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_v2.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def test_simple(store: StorePath) -> None:
3636
assert np.array_equal(data, a[:, :])
3737

3838

39+
@pytest.mark.parametrize("store", ["memory"], indirect=True)
3940
@pytest.mark.parametrize(
4041
("dtype", "fill_value"),
4142
[
@@ -48,7 +49,7 @@ def test_simple(store: StorePath) -> None:
4849
(str, ""),
4950
],
5051
)
51-
def test_implicit_fill_value(store: StorePath, dtype: str, fill_value: Any) -> None:
52+
def test_implicit_fill_value(store: MemoryStore, dtype: str, fill_value: Any) -> None:
5253
arr = zarr.open_array(store=store, shape=(4,), fill_value=None, zarr_format=2, dtype=dtype)
5354
assert arr.metadata.fill_value is None
5455
assert arr.metadata.to_dict()["fill_value"] is None

0 commit comments

Comments
 (0)