Skip to content

Commit

Permalink
Merge pull request cupy#8533 from asi1024/skip-logsumexp
Browse files Browse the repository at this point in the history
Skip `special.logsumexp` test for empty input
  • Loading branch information
takagi authored and chainer-ci committed Aug 23, 2024
1 parent 118ade4 commit 6bbafc0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/cupyx_tests/scipy_tests/special_tests/test_logsumexp.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ def test_special_values(self, xp, scp):
a = xp.array([cupy.inf, -cupy.inf, cupy.nan, -cupy.nan])
return scp.special.logsumexp(a)

# TODO(asi1024): Fix after initial_value is supported in cupy.max
@testing.with_requires('scipy<1.14')
@testing.for_all_dtypes(no_bool=True)
def test_empty_array_inputs(self, dtype):
a = numpy.array([], dtype=dtype)
Expand Down

0 comments on commit 6bbafc0

Please sign in to comment.