code: def test_special_values(self, xp, scp):
      a = xp.array([cupy.inf, -cupy.inf, cupy.nan, -cupy.nan])
      return scp.special.logsumexp(a)
  
file_path: cupy/tests/cupyx_tests/scipy_tests/special_tests/test_logsumexp.py
imports: import pytest
  import numpy
  import cupy
  from cupy import testing
  import cupyx.scipy.special
label_desc: Use image node_id 13 for calling the TestLogsumexp obj's underlying member method code with example usage: obj.test_special_values(xp, scp) and returns: scp