Skip to content

Commit 0f89a96

Browse files
committed
rename needs erasing
1 parent 9210483 commit 0f89a96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zarr/tests/test_storage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ def test_hierarchy(self):
351351
assert [] == store.listdir('c/e/f')
352352

353353
# test rename (optional)
354-
if hasattr(store, 'rename'):
354+
if store.is_erasable():
355355
try:
356356
store.rename("c/e", "c/e2")
357357
assert "c/d" in store

0 commit comments

Comments
 (0)