From a3c87b8db86f40dd3519ae3654fac9de3899effd Mon Sep 17 00:00:00 2001 From: Philip Chmielowiec <67855069+philipc2@users.noreply.github.com> Date: Tue, 19 Nov 2024 12:31:47 -0600 Subject: [PATCH] use parametrize --- test/test_weighted_mean.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/test_weighted_mean.py b/test/test_weighted_mean.py index 22b5ccf2e..967a3d1a8 100644 --- a/test/test_weighted_mean.py +++ b/test/test_weighted_mean.py @@ -1,6 +1,8 @@ import os from pathlib import Path +import pytest + import dask.array as da import numpy as np import numpy.testing as nt @@ -122,5 +124,9 @@ def test_csne30_equal_area(): # TODO for Rachel -def test_csne30_equal_area_dask(): +@pytest.mark.parametrize("chunk_size", [1, 2, 4]) +def test_csne30_equal_area_dask(chunk_size): + + # ... .chunk(n_face=chunk_size) + pass