From 682ca5e36941e0c4e42c95f9b76b518bc540bc44 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Mon, 17 Feb 2025 14:51:15 +0000 Subject: [PATCH] Filter warnings on more partial read/write tests --- zarr/tests/test_core.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zarr/tests/test_core.py b/zarr/tests/test_core.py index 90acb35890..a4e5a5e912 100644 --- a/zarr/tests/test_core.py +++ b/zarr/tests/test_core.py @@ -3032,6 +3032,9 @@ def expected(self): @pytest.mark.skipif(have_fsspec is False, reason="needs fsspec") @pytest.mark.skipif(not v3_api_available, reason="V3 is disabled") +@pytest.mark.filterwarnings( + "ignore:.*Support for partial decompression will be removed in a future version.*" +) class TestArrayWithFSStoreV3PartialRead(TestArrayWithFSStoreV3): partial_decompress = True @@ -3050,6 +3053,9 @@ def expected(self): @pytest.mark.skipif(have_fsspec is False, reason="needs fsspec") @pytest.mark.skipif(not v3_api_available, reason="V3 is disabled") @pytest.mark.skipif(not v3_sharding_available, reason="sharding is disabled") +@pytest.mark.filterwarnings( + "ignore:.*Support for partial decompression will be removed in a future version.*" +) class TestArrayWithFSStoreV3PartialReadUncompressedSharded(TestArrayWithFSStoreV3): partial_decompress = True compressor = None