code: def test_finfo(*, type, test_flags, backend_fw, fn_name, on_device):
      if isinstance(type, str):
          input_dtype = [type]
      else:
          input_dtype, x = type
          type = x[0]
      ret = helpers.test_function(
          input_dtypes=input_dtype,
          test_flags=test_flags,
          backend_to_test=backend_fw,
          fn_name=fn_name,
          on_device=on_device,
          type=type,
          test_values=False,
      )
      if not ivy.exists(ret):
          return
      mach_lims, mach_lims_np = ret
      assert np.allclose(
          mach_lims.min, mach_lims_np.min, rtol=1e-2, atol=1e-2
      )
      assert np.allclose(
          mach_lims.max, mach_lims_np.max, rtol=1e-2, atol=1e-2
      )
      assert np.allclose(
          mach_lims.eps, mach_lims_np.eps, rtol=1e-2, atol=1e-2
      )
      assert mach_lims.bits == mach_lims_np.bits
  
imports: import numpy
  from hypothesis import strategies
  import typing
  import ivy
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_test, BackendHandler
label_desc: Use image node_id 22 for calling a global function with example usage: test_finfo() without return types