We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 926c54e commit f102e84Copy full SHA for f102e84
numcodecs/tests/test_zarr3.py
@@ -272,3 +272,8 @@ def test_delta_astype(store: StorePath):
272
def test_repr():
273
codec = numcodecs.zarr3.LZ4(level=5)
274
assert repr(codec) == "LZ4(codec_name='numcodecs.lz4', codec_config={'level': 5})"
275
+
276
277
+def test_to_dict():
278
+ codec = numcodecs.zarr3.LZ4(level=5)
279
+ assert codec.to_dict() == {"name": "numcodecs.lz4", "configuration": {"level": 5}}
0 commit comments