code: def test_basic(loop, delayed):  # noqa: F811
      with dask_cuda.LocalCUDACluster(loop=loop) as cluster:
          with Client(cluster):
              pdf = dask.datasets.timeseries(
                  dtypes={"x": int}
              ).reset_index()
              gdf = pdf.map_partitions(cudf.DataFrame.from_pandas)
              if delayed:
                  gdf = dd.from_delayed(gdf.to_delayed())
              assert_eq(pdf.head(), gdf.head())
  
file_path: cudf/python/dask_cudf/dask_cudf/tests/test_distributed.py
imports: import numba.cuda
  import pytest
  import dask
  from dask import dataframe
  from dask.distributed import Client
  from distributed.utils_test import cleanup, loop, loop_in_thread
  import cudf
  from cudf.testing._utils import assert_eq
  import dask_cudf
label_desc: Use image node_id 2 for calling a global function with example usage: test_basic(loop, delayed) without return types