55import pytest
66
77import dpnp as cupy
8- from tests .helper import has_support_aspect64
8+ from tests .helper import has_support_aspect64 , is_win_platform
99from tests .third_party .cupy import testing
1010
1111
@@ -493,7 +493,8 @@ def _cumprod(self, xp, a, *args, **kwargs):
493493 return res
494494
495495 @testing .for_all_dtypes ()
496- @testing .numpy_cupy_allclose ()
496+ # TODO: remove type_check once proper cumprod is implemented
497+ @testing .numpy_cupy_allclose (type_check = (not is_win_platform ()))
497498 def test_cumprod_1dim (self , xp , dtype ):
498499 a = testing .shaped_arange ((5 ,), xp , dtype )
499500 return self ._cumprod (xp , a )
@@ -517,7 +518,8 @@ def test_cumprod_out_noncontiguous(self, xp, dtype):
517518 return out
518519
519520 @testing .for_all_dtypes ()
520- @testing .numpy_cupy_allclose (rtol = 1e-6 )
521+ # TODO: remove type_check once proper cumprod is implemented
522+ @testing .numpy_cupy_allclose (rtol = 1e-6 , type_check = (not is_win_platform ()))
521523 def test_cumprod_2dim_without_axis (self , xp , dtype ):
522524 a = testing .shaped_arange ((4 , 5 ), xp , dtype )
523525 return self ._cumprod (xp , a )
0 commit comments