code: def test_assert_allclose_fail(shape, dtype):
      a, b = _make_onehot_arrays(shape, dtype, 0, 2)
      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 7 for calling a global function with example usage: test_assert_allclose_fail(shape, dtype) without return types