Skip to content

Commit 1cd2390

Browse files
committed
assert a.name is not None
1 parent 01c03bf commit 1cd2390

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/zarr/testing/strategies.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ def arrays(
153153
assert isinstance(a, Array)
154154
if a.metadata.zarr_format == 3:
155155
assert a.fill_value is not None
156+
assert a.name is not None
156157
assert isinstance(root[array_path], Array)
157158
assert nparray.shape == a.shape
158159
assert chunks == a.chunks

0 commit comments

Comments
 (0)