code: def _custom_allclose(a, b):
      if a.dtype.fields is None:
          assert np.allclose(a, b)
      else:
          for n in a.dtype.names:
              assert np.allclose(a[n], b[n])
  
file_path: emcee/src/emcee/tests/unit/test_backends.py
imports: import os
  from itertools import product
  from os.path import join
  import numpy
  import pytest
  from emcee import EnsembleSampler, State, backends
  from emcee.backends.hdf import does_hdf5_support_longdouble
label_desc: Use image node_id 4 for calling a global function with example usage: _custom_allclose(a, b) without return types