Skip to content

Commit ebb4f37

Browse files
committed
Skip cumulative_sum in the nan propogation special case test
nan propogation for cumulative_sum is more complicated. It would be better to just check this directly in test_cumulative_sum.
1 parent 5aa865d commit ebb4f37

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

array_api_tests/test_special_cases.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1323,7 +1323,8 @@ def test_empty_arrays(func_name, expected): # TODO: parse docstrings to get exp
13231323

13241324

13251325
@pytest.mark.parametrize(
1326-
"func_name", [f.__name__ for f in category_to_funcs["statistical"]]
1326+
"func_name", [f.__name__ for f in category_to_funcs["statistical"]
1327+
if f.__name__ != 'cumulative_sum']
13271328
)
13281329
@given(
13291330
x=hh.arrays(dtype=xps.floating_dtypes(), shape=hh.shapes(min_side=1)),

0 commit comments

Comments
 (0)