From dd4662a3433ba7a5e6ef16281447f619209cbeee Mon Sep 17 00:00:00 2001 From: peterdudfield Date: Wed, 22 Nov 2023 11:37:48 +0000 Subject: [PATCH] fix `test_data_quality_filter` --- tests/test_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_utils.py b/tests/test_utils.py index 61be24a4..c088d2b0 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -99,14 +99,14 @@ def test_save_dataarray_to_zarr(self): # noqa D102 def test_data_quality_filter(self): test = xarray.Dataset({ - "data": (("time", "y", "x"), np.zeros(100, 100, 100)) + "data": (("time", "y", "x"), np.zeros((100, 100, 100))) }) out = data_quality_filter(test, 0.9) self.assertFalse(out) test = xarray.Dataset({ - "data": (("time", "y", "x"), np.ones(100, 100, 100)) + "data": (("time", "y", "x"), np.ones((100, 100, 100))) }) out = data_quality_filter(test, 0.9)