From 34d493aa314d3f2fae1ed1fc808ca8525cb273d9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 20:19:46 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- virtualizarr/tests/test_zarr.py | 5 +++-- virtualizarr/zarr.py | 2 -- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/virtualizarr/tests/test_zarr.py b/virtualizarr/tests/test_zarr.py index 6ba44c9b..9eda0440 100644 --- a/virtualizarr/tests/test_zarr.py +++ b/virtualizarr/tests/test_zarr.py @@ -7,7 +7,7 @@ from virtualizarr import ManifestArray, open_virtual_dataset from virtualizarr.manifests.manifest import ChunkManifest -from virtualizarr.zarr import dataset_to_zarr, metadata_from_zarr_json, ZArray +from virtualizarr.zarr import ZArray, dataset_to_zarr, metadata_from_zarr_json @pytest.fixture @@ -88,6 +88,7 @@ def test_replace_partial(): assert result.shape == (2, 3) assert result.chunks == (2, 3) + def test_replace_total(): arr = ZArray(shape=(2, 3), chunks=(1, 1), dtype=np.dtype("