Skip to content

Commit e73bcc9

Browse files
committed
Cast return from __eq__ as bool
1 parent 7a71174 commit e73bcc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zarr/storage/object_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def __eq__(self, value: object) -> bool:
3838
if not isinstance(value, ObjectStore):
3939
return False
4040

41-
return self.store.__eq__(value.store)
41+
return bool(self.store.__eq__(value.store))
4242

4343
def __init__(self, store: _ObjectStore, *, read_only: bool = False) -> None:
4444
self.store = store

0 commit comments

Comments
 (0)