Skip to content

Commit 65c2415

Browse files
committed
adjust error message
1 parent bb76132 commit 65c2415

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zarr/codecs/crc32c_.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def _from_json_v2(cls, data: CodecJSON) -> Self:
6969
return cls()
7070
msg = (
7171
"Invalid Zarr V2 JSON representation of the crc32c codec. "
72-
f"Got {data!r}, expected a Mapping with keys ('id')"
72+
f"Got {data!r}, expected a Mapping with keys ('id', 'location')"
7373
)
7474
raise CodecValidationError(msg)
7575

0 commit comments

Comments
 (0)