Skip to content

Commit 45b3e33

Browse files
committed
Update tests/third_party/cupyx/scipy_tests/special_tests/test_erf.py to pass dpnp with scipy>=1.16
1 parent 4043534 commit 45b3e33

File tree

1 file changed

+2
-1
lines changed
  • dpnp/tests/third_party/cupyx/scipy_tests/special_tests

1 file changed

+2
-1
lines changed

dpnp/tests/third_party/cupyx/scipy_tests/special_tests/test_erf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ def test_erfcinv(self):
5151
@testing.with_requires("scipy")
5252
class TestSpecial(unittest.TestCase, _TestBase):
5353

54+
# scipy>=1.16: 'e -> d', which causes type_check=False
5455
@testing.for_dtypes(["e", "f", "d"])
55-
@testing.numpy_cupy_allclose(atol=1e-5, scipy_name="scp")
56+
@testing.numpy_cupy_allclose(atol=1e-5, scipy_name="scp", type_check=False)
5657
def check_unary(self, name, xp, scp, dtype):
5758
import scipy.special
5859

0 commit comments

Comments
 (0)