Skip to content

Commit 4661242

Browse files
committed
fix test
1 parent cd21c78 commit 4661242

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tests/test_properties.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,15 @@ def test_array_creates_implicit_groups(array):
3838
for i in range(len(ancestry)):
3939
parent = "/".join(ancestry[: i + 1])
4040
if array.metadata.zarr_format == 2:
41-
sync(array.store.get(f"{parent}/.zgroup", prototype=default_buffer_prototype()))
41+
assert (
42+
sync(array.store.get(f"{parent}/.zgroup", prototype=default_buffer_prototype()))
43+
is not None
44+
)
4245
elif array.metadata.zarr_format == 3:
43-
sync(array.store.get(f"{parent}/zarr.json", prototype=default_buffer_prototype()))
46+
assert (
47+
sync(array.store.get(f"{parent}/zarr.json", prototype=default_buffer_prototype()))
48+
is not None
49+
)
4450

4551

4652
@given(data=st.data())

0 commit comments

Comments
 (0)