From 5fc47657e9c94c14856ed1971018bd2aef92a15c Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Tue, 7 Oct 2025 12:41:44 +0300 Subject: [PATCH] Backport PR #3300: Imported name is not used anywhere in the module --- tests/test_config.py | 1 - tests/test_v2.py | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/test_config.py b/tests/test_config.py index 0c029dda3a..908a1dc198 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -8,7 +8,6 @@ import pytest import zarr -import zarr.api from zarr import zeros from zarr.abc.codec import CodecPipeline from zarr.abc.store import ByteSetter, Store diff --git a/tests/test_v2.py b/tests/test_v2.py index 70e8f2923f..b223e022c6 100644 --- a/tests/test_v2.py +++ b/tests/test_v2.py @@ -2,11 +2,9 @@ from pathlib import Path from typing import Any, Literal -import numcodecs.abc -import numcodecs.vlen import numpy as np import pytest -from numcodecs import Delta +from numcodecs import Delta, Zlib from numcodecs.blosc import Blosc from numcodecs.zstd import Zstd @@ -124,7 +122,7 @@ def test_v2_encode_decode_with_data(dtype: ZDType[Any, Any], value: str) -> None np.testing.assert_equal(data, expected) -@pytest.mark.parametrize("filters", [[], [numcodecs.Delta(dtype=" None: array_fixture = [42]