code: def check_binary_int(self, name, xp, dtype):
      a = xp.array([-3, -2, -1, 0, 1, 2, 3]).astype(dtype)
      b = xp.array([0, 1, 2, 3, 4, 5, 6]).astype(dtype)
      return getattr(xp, name)(a, b)
  
file_path: cupy/tests/cupy_tests/binary_tests/test_elementwise.py
imports: import unittest
  from cupy import testing
label_desc: Use image node_id 2 for calling the TestElementwise obj's underlying member method code with example usage: obj.check_binary_int(name, xp, dtype) and returns: getattr