From 68beec9794d110f735fee13b820160193e518e8f Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Wed, 3 Apr 2024 12:55:57 +0200 Subject: [PATCH] Debug test on Windows --- tests/third_party/cupy/math_tests/test_sumprod.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/third_party/cupy/math_tests/test_sumprod.py b/tests/third_party/cupy/math_tests/test_sumprod.py index 53bedd6ca72..672c8aea37b 100644 --- a/tests/third_party/cupy/math_tests/test_sumprod.py +++ b/tests/third_party/cupy/math_tests/test_sumprod.py @@ -488,14 +488,18 @@ def test_cumsum_numpy_array(self, dtype): class TestCumprod: def _cumprod(self, xp, a, *args, **kwargs): b = a.copy() + print("b.dtype =", b.dtype) res = xp.cumprod(a, *args, **kwargs) + print("res.dtype =", res.dtype) testing.assert_array_equal(a, b) # Check if input array is overwritten return res @testing.for_all_dtypes() @testing.numpy_cupy_allclose() def test_cumprod_1dim(self, xp, dtype): + print(xp) a = testing.shaped_arange((5,), xp, dtype) + print("a.dtype =", a.dtype) return self._cumprod(xp, a) @pytest.mark.usefixtures("allow_fall_back_on_numpy")