code: def test_bincount():
      x = cupy.array([2, 1, 5, 2, 1])
      d = da.from_array(x, chunks=2, asarray=False)
      e = da.bincount(d, minlength=6)
      assert_eq(e, np.bincount(x, minlength=6))
      assert same_keys(da.bincount(d, minlength=6), e)
  
      assert (
          da.bincount(d, minlength=6).name
          != da.bincount(d, minlength=7).name
      )
      assert (
          da.bincount(d, minlength=6).name
          == da.bincount(d, minlength=6).name
      )
  
file_path: dask/dask/array/tests/test_cupy_routines.py
imports: from __future__ import annotations
  import numpy
  import pytest
  from packaging.version import parse
  import dask.array
  from dask.array.utils import assert_eq, same_keys
label_desc: Use image node_id 1 for calling a global function with example usage: test_bincount() without return types