Skip to content

Commit fef6748

Browse files
committed
Mute a test for dpnp.cumprod on Windows until proper impl is done
1 parent 4cf7ab8 commit fef6748

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/third_party/cupy/math_tests/test_sumprod.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -507,9 +507,12 @@ def test_cumprod_out_noncontiguous(self, xp, dtype):
507507
self._cumprod(xp, a, out=out)
508508
return out
509509

510+
# TODO: remove skip once proper cumprod is implemented
511+
@pytest.mark.skipif(
512+
is_win_platform(), reason="numpy has another default integral dtype"
513+
)
510514
@testing.for_all_dtypes()
511-
# TODO: remove type_check once proper cumprod is implemented
512-
@testing.numpy_cupy_allclose(rtol=1e-6, type_check=(not is_win_platform()))
515+
@testing.numpy_cupy_allclose(rtol=1e-6)
513516
def test_cumprod_2dim_without_axis(self, xp, dtype):
514517
a = testing.shaped_arange((4, 5), xp, dtype)
515518
return self._cumprod(xp, a)

0 commit comments

Comments
 (0)