code: def test_indices():
      darr = da.indices((1,), chunks=(1,))
      nparr = np.indices((1,))
      assert_eq(darr, nparr)
  
      darr = da.indices((1,), float, chunks=(1,))
      nparr = np.indices((1,), float)
      assert_eq(darr, nparr)
  
      darr = da.indices((2, 1), chunks=(2, 1))
      nparr = np.indices((2, 1))
      assert_eq(darr, nparr)
  
      darr = da.indices((2, 3), chunks=(1, 2))
      nparr = np.indices((2, 3))
      assert_eq(darr, nparr)
  
imports: from __future__ import annotations
  import pytest
  import numpy
  import pytest
  from tlz import concat
  import dask
  import dask.array
  from dask.array.core import normalize_chunks
  from dask.array.numpy_compat import AxisError
  from dask.array.utils import assert_eq, same_keys
label_desc: Use image node_id 11 for calling a global function with example usage: test_indices() without return types