diff --git a/zarr/storage.py b/zarr/storage.py index 6720b42d12..65afc58539 100644 --- a/zarr/storage.py +++ b/zarr/storage.py @@ -778,7 +778,7 @@ def __setitem__(self, key, value): finally: # clean up if temp file still exists for whatever reason - if temp_path is not None and os.path.exists(temp_path): + if temp_path is not None and os.path.exists(temp_path): # pragma: no cover os.remove(temp_path) def __delitem__(self, key):