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 9930e30 commit f342bb9Copy full SHA for f342bb9
src/zarr/testing/strategies.py
@@ -19,6 +19,7 @@
19
from zarr.core.sync import sync
20
from zarr.storage import MemoryStore, StoreLike
21
from zarr.storage._common import _dereference_path
22
+from zarr.storage._utils import normalize_path
23
24
# Copied from Xarray
25
_attr_keys = st.text(st.characters(), min_size=1)
@@ -277,6 +278,8 @@ def arrays(
277
278
if a.metadata.zarr_format == 3:
279
assert a.fill_value is not None
280
assert a.name is not None
281
+ assert a.path == normalize_path(array_path)
282
+ assert a.name == "/" + a.path
283
assert isinstance(root[array_path], Array)
284
assert nparray.shape == a.shape
285
assert chunk_shape == a.chunks
0 commit comments