Skip to content

Commit 28ff45c

Browse files
committed
skip cumprod since it's most likely not implemented
1 parent 35cf22c commit 28ff45c

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

xarray_array_testing/reduction.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,16 @@ def test_variable_order_reduce_index(self, op, data):
6868
assert isinstance(actual, self.array_type)
6969
self.assert_equal(actual, expected)
7070

71-
@pytest.mark.parametrize("op", ["cumsum", "cumprod"])
71+
@pytest.mark.parametrize(
72+
"op",
73+
[
74+
"cumsum",
75+
pytest.param(
76+
"cumprod",
77+
marks=pytest.mark.skip(reason="not yet included in the array api"),
78+
),
79+
],
80+
)
7281
@given(st.data())
7382
def test_variable_cumulative_reduce(self, op, data):
7483
array_api_names = {"cumsum": "cumulative_sum", "cumprod": "cumulative_prod"}

0 commit comments

Comments
 (0)