Skip to content

Commit

Permalink
Update Exception class in __del__ method
Browse files Browse the repository at this point in the history
  • Loading branch information
annehaley committed Jan 29, 2024
1 parent 10a1f7e commit 12946a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/zarr/large_image_source_zarr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def __del__(self):
try:
self._zarr.close()
self._tempfile.close()

Check warning on line 119 in sources/zarr/large_image_source_zarr/__init__.py

View check run for this annotation

Codecov / codecov/patch

sources/zarr/large_image_source_zarr/__init__.py#L119

Added line #L119 was not covered by tests
except BaseException:
except Exception:
pass

def _checkEditable(self):
Expand Down

0 comments on commit 12946a0

Please sign in to comment.