Skip to content

Commit 3969d2f

Browse files
committed
TST: add cumulative_prod to test_flags
1 parent 0bff2f1 commit 3969d2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

array_api_strict/tests/test_flags.py

+1
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ def test_api_version_2023_12(func_name):
308308
'take_along_axis': lambda: xp.take_along_axis(xp.zeros((2, 3)),
309309
xp.zeros((1, 4), dtype=xp.int64)),
310310
'count_nonzero': lambda: xp.count_nonzero(xp.arange(3)),
311+
'cumulative_prod': lambda: xp.cumulative_prod(xp.arange(1, 5)),
311312
}
312313

313314
@pytest.mark.parametrize('func_name', api_version_2024_12_examples.keys())

0 commit comments

Comments
 (0)