code: def test_basic():
      # sanity check
      dtype = [("a", "f8"), ("b", "f8"), ("c", "f8")]
      x = np.ones((5, 3), dtype=dtype)
      dx = da.ones((5, 3), dtype=dtype, chunks=3)
      result = dx[["a", "b"]]
      expected = x[["a", "b"]]
      assert_eq(result, expected)
  
file_path: dask/dask/array/tests/test_numpy_compat.py
imports: from __future__ import annotations
  import numpy
  import pytest
  import dask.array
  from dask.array.utils import assert_eq
label_desc: Use image node_id 3 for calling a global function with example usage: test_basic() without return types