From 2a1df39bdad1d512a3f1622720678266cd96d7ae Mon Sep 17 00:00:00 2001 From: niksirbi Date: Tue, 22 Oct 2024 12:27:09 +0100 Subject: [PATCH] use ds.sizes instead of ds.dims to suppress warning --- tests/test_integration/test_filtering.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_integration/test_filtering.py b/tests/test_integration/test_filtering.py index ec29c3ef..e3e87901 100644 --- a/tests/test_integration/test_filtering.py +++ b/tests/test_integration/test_filtering.py @@ -43,7 +43,7 @@ def test_nan_propagation_through_filters(sample_dataset, window, helpers): assert ( n_total_nans_input - == n_low_confidence_kpts * sample_dataset.dims["space"] + == n_low_confidence_kpts * sample_dataset.sizes["space"] ) # Compute maximum expected increase in NaNs due to filtering