code: def test_assert_eq_checks_scalars():
      # https://github.com/dask/dask/issues/2680
      with pytest.raises(AssertionError):
          assert_eq(np.array(0), np.array(1))
  
      a = da.from_array(np.array([0]), 1)[0]
      b = np.array([1])[0]
      with pytest.raises(AssertionError):
          assert_eq(a, b)
  
imports: from __future__ import annotations
  import sys
  import numpy
  import pytest
  import dask.array
  from dask.array.utils import assert_eq
label_desc: Use image node_id 1 for calling a global function with example usage: test_assert_eq_checks_scalars() without return types