code: def test_is_close_finite(self, xp, dtype):
      # In numpy<1.10 this test fails when dtype is bool
      a = xp.array([0.9e-5, 1.1e-5, 1000 + 1e-4, 1000 - 1e-4]).astype(
          dtype
      )
      b = xp.array([0, 0, 1000, 1000]).astype(dtype)
      return xp.isclose(a, b)
  
imports: import operator
  import unittest
  import numpy
  import cupy
  from cupy import testing
label_desc: Use image node_id 1 for calling the TestIsclose obj's underlying member method code with example usage: obj.test_is_close_finite(xp, dtype) and returns: xp