Skip to content

Commit 20ab882

Browse files
committed
dont need to remove root group
1 parent 0137a74 commit 20ab882

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/zarr/testing/stateful.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,11 +340,11 @@ def delete_array_using_del(self, data: DataObject) -> None:
340340
self.all_arrays.remove(array_path)
341341

342342
@precondition(lambda self: self.store.supports_deletes)
343-
@precondition(lambda self: bool(self.all_groups - {"", "/"}))
343+
@precondition(lambda self: bool(self.all_groups))
344344
@rule(data=st.data())
345345
def delete_group_using_del(self, data: DataObject) -> None:
346346
group_path = data.draw(
347-
st.sampled_from(sorted(self.all_groups - {"", "/"})),
347+
st.sampled_from(sorted(self.all_groups)),
348348
label="Group deletion target",
349349
)
350350
prefix, group_name = split_prefix_name(group_path)

0 commit comments

Comments
 (0)