Skip to content

Commit bb2bb6c

Browse files
committed
fixup! zarr-v3: filters / compressors -> codecs
1 parent 5418c24 commit bb2bb6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xarray/tests/test_backends.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2727,9 +2727,9 @@ def test_check_encoding_is_consistent_after_append(self) -> None:
27272727
compressor = numcodecs.Blosc()
27282728

27292729
if have_zarr_v3:
2730-
encoding = {"da": {"compressor": compressor}}
2731-
else:
27322730
encoding = {"da": {"codecs": [compressor]}}
2731+
else:
2732+
encoding = {"da": {"compressor": compressor}}
27332733
ds.to_zarr(store_target, mode="w", encoding=encoding, **self.version_kwargs)
27342734
ds_to_append.to_zarr(store_target, append_dim="time", **self.version_kwargs)
27352735
actual_ds = xr.open_dataset(

0 commit comments

Comments
 (0)