code: def test_assert_allclose_close_default_tol():
      dtype = numpy.float64
      shape = (2, 3)
  
      # small absolute error
      a, b = _make_onehot_arrays(shape, dtype, 1.0, 1.0 + 5e-8)
      chainerx.testing.assert_allclose(a, b)
  
      # large absolute error
      a, b = _make_onehot_arrays(shape, dtype, 1e8, 1e8 + 5)
      chainerx.testing.assert_allclose(a, b)
  
      # expected failure: small absolute error
      a, b = _make_onehot_arrays(shape, dtype, 1.0, 1.0 + 2e-7)
      with pytest.raises(AssertionError):
          chainerx.testing.assert_allclose(a, b)
  
      # expected failure: large absolute error
      a, b = _make_onehot_arrays(shape, dtype, 1e8, 1e8 + 20)
      with pytest.raises(AssertionError):
          chainerx.testing.assert_allclose(a, b)
  
imports: import numpy
  import pytest
  import chainerx
  import chainerx.testing
label_desc: Use image node_id 12 for calling a global function with example usage: test_assert_allclose_close_default_tol() without return types