Skip to content

Commit

Permalink
Merge pull request #7948 from kmaehashi/skip-logspace-test
Browse files Browse the repository at this point in the history
skip logspace test in NumPy 1.25 & 1.26 (#7946)
  • Loading branch information
emcastillo committed Oct 20, 2023
2 parents ee00774 + 75d3580 commit 6a5755a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/cupy_tests/creation_tests/test_ranges.py
Expand Up @@ -284,7 +284,8 @@ def test_logspace_neg_num(self):
def test_logspace_base(self, xp, dtype):
return xp.logspace(0, 2, 5, base=2.0, dtype=dtype)

@testing.with_requires('numpy>=1.16')
# See #7946 and https://github.com/numpy/numpy/issues/24957
@testing.with_requires('numpy>=1.16, !=1.25.*, !=1.26.*')
@testing.for_all_dtypes_combination(names=('dtype_range', 'dtype_out'),
no_bool=True, no_complex=True)
@testing.numpy_cupy_allclose(rtol=1e-6, contiguous_check=False)
Expand Down

0 comments on commit 6a5755a

Please sign in to comment.