Skip to content

Commit 17ee300

Browse files
d-v-bbrokkoli71
andauthored
Update src/zarr/store/memory.py
Co-authored-by: Hannes Spitz <[email protected]>
1 parent acdb9ef commit 17ee300

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zarr/store/memory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ async def exists(self, key: str) -> bool:
7171

7272
async def set(self, key: str, value: Buffer, byte_range: tuple[int, int] | None = None) -> None:
7373
if not self._is_open:
74-
raise RuntimeError("Store is closed. Cannot `get` from a closed store.")
74+
raise RuntimeError("Store is closed. Cannot `set` in a closed store.")
7575
self._check_writable()
7676
assert isinstance(key, str)
7777
if not isinstance(value, Buffer):

0 commit comments

Comments
 (0)