diff --git a/src/zarr/v3/store/local.py b/src/zarr/v3/store/local.py index 5d22b30e9a..2115dc2eed 100644 --- a/src/zarr/v3/store/local.py +++ b/src/zarr/v3/store/local.py @@ -67,6 +67,9 @@ def __str__(self) -> str: def __repr__(self) -> str: return f"LocalStore({repr(str(self))})" + def __eq__(self, other: 'LocalStore') -> bool: + return isinstance(other, type(self)) and self.root == other.root + async def get( self, key: str, byte_range: Optional[Tuple[int, Optional[int]]] = None ) -> Optional[bytes]: