code: def check_unary_unit(self, name, xp, dtype):
      a = xp.array([0.2, 0.4, 0.6, 0.8], dtype=dtype)
      return getattr(xp, name)(a)
  
file_path: cupy/tests/cupy_tests/math_tests/test_hyperbolic.py
imports: import unittest
  from cupy import testing
label_desc: Use image node_id 2 for calling the TestHyperbolic obj's underlying member method code with example usage: obj.check_unary_unit(name, xp, dtype) and returns: getattr