code: def test_assert_array_equal_ex_fail_dtype():
      shape = (3, 2)
      dtype1 = numpy.float32
      dtype2 = numpy.int64
      a = (
          numpy.arange(2, 2 + numpy.prod(shape))
          .astype(dtype1)
          .reshape(shape)
      )
      b = a.astype(dtype2)
      with pytest.raises(AssertionError):
          chainerx.testing.assert_array_equal_ex(a, b)
      with pytest.raises(AssertionError):
          # strides_check does not affect dtype_check
          chainerx.testing.assert_array_equal_ex(
              a, b, strides_check=False
          )
      chainerx.testing.assert_array_equal_ex(a, b, dtype_check=False)
  
imports: import numpy
  import pytest
  import chainerx
  import chainerx.testing
label_desc: Use image node_id 15 for calling a global function with example usage: test_assert_array_equal_ex_fail_dtype() without return types