code: def test_one_query_partition(client):
      from cuml.dask.neighbors import NearestNeighbors as daskNN
      from cuml.dask.datasets import make_blobs
  
      X_train, _ = make_blobs(n_samples=4000, n_features=16, n_parts=8)
  
      X_test, _ = make_blobs(n_samples=200, n_features=16, n_parts=1)
  
      cumlModel = daskNN(n_neighbors=4)
      cumlModel.fit(X_train)
      cumlModel.kneighbors(X_test)
  
file_path: cuml/python/cuml/tests/dask/test_dask_nearest_neighbors.py
imports: import platform
  from cuml.testing.utils import array_equal
  from sklearn.neighbors import KNeighborsClassifier
  from cuml.testing.utils import unit_param, quality_param, stress_param
  from cuml.dask.common import utils
  from cuml.common import has_scipy
  from cuml.internals.safe_imports import cpu_only_import
  import pytest
  from cuml.internals.safe_imports import gpu_only_import
label_desc: Use image node_id 8 for calling a global function with example usage: test_one_query_partition(client) without return types