Skip to content

Commit 6214948

Browse files
authored
Merge pull request #355 from jakirkham/ignore_tempfile_cleanup
Skip coverage of temp file cleanup
2 parents 06475af + 15d0e12 commit 6214948

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zarr/storage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ def __setitem__(self, key, value):
778778

779779
finally:
780780
# clean up if temp file still exists for whatever reason
781-
if temp_path is not None and os.path.exists(temp_path):
781+
if temp_path is not None and os.path.exists(temp_path): # pragma: no cover
782782
os.remove(temp_path)
783783

784784
def __delitem__(self, key):

0 commit comments

Comments
 (0)