diff --git a/requirements_dev_minimal.txt b/requirements_dev_minimal.txt index df96c608b6..2991d99299 100644 --- a/requirements_dev_minimal.txt +++ b/requirements_dev_minimal.txt @@ -1,7 +1,7 @@ # library requirements asciitree==0.3.3 fasteners==0.19 -numcodecs==0.12.1 +numcodecs==0.13.0 msgpack-python==0.5.6 setuptools-scm==8.1.0 # test requirements diff --git a/zarr/tests/test_meta.py b/zarr/tests/test_meta.py index 7b7d526476..57ab9a0781 100644 --- a/zarr/tests/test_meta.py +++ b/zarr/tests/test_meta.py @@ -282,36 +282,28 @@ def test_encode_decode_array_dtype_shape_v3(cname): fill_value=None, chunk_memory_layout="C", ) - - meta_json = ( - """{ + meta_expected = { "attributes": {}, - "chunk_grid": { - "chunk_shape": [10], - "separator": "/", - "type": "regular" - }, + "chunk_grid": {"chunk_shape": [10], "separator": "/", "type": "regular"}, "chunk_memory_layout": "C", "compressor": { - """ - + f""" - "codec": "https://purl.org/zarr/spec/codec/{cname}/1.0", - """ - + """ - "configuration": { - "level": 1 - } + "codec": f"https://purl.org/zarr/spec/codec/{cname}/1.0", + "configuration": {"level": 1}, }, "data_type": "