code: def test_trig_degrees(self, xp, scp, dtype, function):
      vals = xp.linspace(-100, 100, 200, dtype=dtype)
      # test at exact multiples of 45 degrees
      vals = xp.concatenate(
          (vals, xp.arange(-360, 361, 45, dtype=dtype))
      )
      return getattr(scp.special, function)(vals)
  
imports: import math
  import cupy
  import numpy
  import pytest
  import cupyx.scipy.special
  from cupy import testing
  from cupy.testing import assert_array_equal, assert_array_almost_equal
  from cupy.testing import numpy_cupy_allclose
label_desc: Use image node_id 15 for calling the TestBasic obj's underlying member method code with example usage: obj.test_trig_degrees(xp, scp, dtype, function) and returns: getattr