code: def test_trim_internal():
      x = cupy.ones((40, 60))
      d = da.from_array(x, chunks=(10, 10), asarray=False)
      e = da.overlap.trim_internal(
          d, axes={0: 1, 1: 2}, boundary="reflect"
      )
  
      assert e.chunks == ((8, 8, 8, 8), (6, 6, 6, 6, 6, 6))
  
file_path: dask/dask/array/tests/test_cupy_overlap.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 2 for calling a global function with example usage: test_trim_internal() without return types