Skip to content

Commit

Permalink
rename needs erasing
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Dec 15, 2020
1 parent 9210483 commit 0f89a96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zarr/tests/test_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ def test_hierarchy(self):
assert [] == store.listdir('c/e/f')

# test rename (optional)
if hasattr(store, 'rename'):
if store.is_erasable():
try:
store.rename("c/e", "c/e2")
assert "c/d" in store
Expand Down

0 comments on commit 0f89a96

Please sign in to comment.