code: def test_categorical_dtype_round_trip():
      s = cudf.Series(4 * ["foo"], dtype="category")
      assert s.dtype.ordered is False
  
      ds = dgd.from_cudf(s, npartitions=2)
      pds = dd.from_pandas(s.to_pandas(), npartitions=2)
      dd.assert_eq(ds, pds)
      assert ds.dtype.ordered is False
  
      # Below validations are required, see:
      # https://github.com/rapidsai/cudf/issues/11487#issuecomment-1208912383
      actual = ds.compute()
      expected = pds.compute()
      assert actual.dtype.ordered == expected.dtype.ordered
  
imports: import random
  import cupy
  import numpy
  import pandas
  import pytest
  from packaging import version
  import dask
  from dask import dataframe
  from dask.dataframe.core import make_meta, meta_nonempty
  from dask.utils import M
  import cudf
  import dask_cudf
label_desc: Use image node_id 50 for calling a global function with example usage: test_categorical_dtype_round_trip() without return types