Skip to content

Commit f37ee04

Browse files
committed
Passing for zarr 3
1 parent 4551d08 commit f37ee04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zarr/core/group.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ def to_buffer_dict(self, prototype: BufferPrototype) -> dict[str, Buffer]:
334334
if self.zarr_format == 3:
335335
return {
336336
ZARR_JSON: prototype.buffer.from_bytes(
337-
json.dumps(self.to_dict(), cls=V3JsonEncoder).encode()
337+
json.dumps(_replace_special_floats(self.to_dict()), cls=V3JsonEncoder).encode()
338338
)
339339
}
340340
else:

0 commit comments

Comments
 (0)