Skip to content

Commit c770b05

Browse files
committed
allow fall back on numpy - needed for Win tests
1 parent 1278fae commit c770b05

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_mathematical.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,7 @@ def test_positive_boolean():
461461
dpnp.positive(dpnp_a)
462462

463463

464+
@pytest.mark.usefixtures("allow_fall_back_on_numpy")
464465
@pytest.mark.parametrize("func", ["prod", "nanprod"])
465466
@pytest.mark.parametrize("axis", [None, 0, 1, -1, 2, -2, (1, 2), (0, -2)])
466467
@pytest.mark.parametrize("keepdims", [False, True])
@@ -505,6 +506,7 @@ def test_prod_nanprod_bool(func, axis, keepdims):
505506
assert_allclose(dpnp_res, np_res)
506507

507508

509+
@pytest.mark.usefixtures("allow_fall_back_on_numpy")
508510
@pytest.mark.usefixtures("suppress_complex_warning")
509511
@pytest.mark.usefixtures("suppress_invalid_numpy_warnings")
510512
@pytest.mark.parametrize("func", ["prod", "nanprod"])

0 commit comments

Comments
 (0)