We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9734a2 commit 89e0688Copy full SHA for 89e0688
tests/test_pydantic_zarr/test_v3.py
@@ -48,6 +48,7 @@ def test_serialize_deserialize() -> None:
48
def test_from_array() -> None:
49
array = np.arange(10)
50
array_spec = ArraySpec.from_array(array)
51
+
52
assert array_spec == ArraySpec(
53
zarr_format=3,
54
node_type="array",
@@ -65,6 +66,9 @@ def test_from_array() -> None:
65
66
storage_transformers=(),
67
dimension_names=None,
68
)
69
+ # check that we can write this array to zarr
70
+ # TODO: fix type of the store argument in to_zarr
71
+ array_spec.to_zarr(store={}, path="") # type: ignore[arg-type]
72
73
74
def test_arrayspec_no_empty_codecs() -> None:
0 commit comments