code: def test_assert_allclose_fail_equal_nan():
      chainerx.testing.assert_allclose(float("nan"), float("nan"))
      with pytest.raises(AssertionError):
          chainerx.testing.assert_allclose(
              float("nan"), float("nan"), equal_nan=False
          )
  
      shape = (2, 3)
      dtype = numpy.float32
      a, b = _make_onehot_arrays(
          shape, dtype, float("nan"), float("nan")
      )
      chainerx.testing.assert_allclose(a, b)
      with pytest.raises(AssertionError):
          chainerx.testing.assert_allclose(a, b, equal_nan=False)
  
imports: import numpy
  import pytest
  import chainerx
  import chainerx.testing
label_desc: Use image node_id 10 for calling a global function with example usage: test_assert_allclose_fail_equal_nan() without return types