code: def test_getter():
      result = da.core.getter(cupy.arange(5), (None, slice(None, None)))
  
      assert type(result) == cupy.ndarray
      assert_eq(result, np.arange(5)[None, :], check_type=False)
  
imports: from __future__ import annotations
  import numpy
  import pytest
  from packaging.version import parse
  import dask
  import dask.array
  from dask.array.utils import assert_eq
  from dask.sizeof import sizeof
label_desc: Use image node_id 7 for calling a global function with example usage: test_getter() without return types