code: def test_query_local_dict():
      np.random.seed(0)
      df = pd.DataFrame(
          {
              "x": np.random.randint(0, 5, size=10),
              "y": np.random.normal(size=10),
          }
      )
      gdf = cudf.DataFrame.from_pandas(df)
      ddf = dgd.from_cudf(gdf, npartitions=2)
  
      val = 2
  
      gdf_queried = gdf.query("x > @val")
      ddf_queried = ddf.query("x > @val", local_dict={"val": val})
  
      dd.assert_eq(gdf_queried, ddf_queried)
  
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 9 for calling a global function with example usage: test_query_local_dict() without return types