Skip to content

Commit 8754386

Browse files
committed
assert a.name is not None, outside of the conditional
1 parent 1cd2390 commit 8754386

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zarr/testing/strategies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +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
156+
assert a.name is not None
157157
assert isinstance(root[array_path], Array)
158158
assert nparray.shape == a.shape
159159
assert chunks == a.chunks

0 commit comments

Comments
 (0)