code: def test_periodic():
      x = cupy.arange(64).reshape((8, 8))
      d = da.from_array(x, chunks=(4, 4), asarray=False)
  
      e = da.overlap.periodic(d, axis=0, depth=2)
      assert e.shape[0] == d.shape[0] + 4
      assert e.shape[1] == d.shape[1]
  
      assert_eq(e[1, :], d[-1, :])
      assert_eq(e[0, :], d[-2, :])
  
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 3 for calling a global function with example usage: test_periodic() without return types