code: def test_neighbors(graph_file):
      cu_M = utils.read_csv_file(graph_file)
      nodes = cudf.concat([cu_M["0"], cu_M["1"]]).unique()
      M = utils.read_csv_for_nx(graph_file)
  
      G = cugraph.Graph()
      G.from_cudf_edgelist(cu_M, source="0", destination="1")
  
      Gnx = nx.from_pandas_edgelist(
          M, source="0", target="1", create_using=nx.Graph()
      )
      for n in nodes.values_host:
          cu_neighbors = G.neighbors(n).to_arrow().to_pylist()
          nx_neighbors = [i for i in Gnx.neighbors(n)]
          cu_neighbors.sort()
          nx_neighbors.sort()
          assert cu_neighbors == nx_neighbors
  
imports: import gc
  import time
  import pytest
  import pandas
  import scipy
  import networkx
  import cupy
  import cudf
  import cugraph
  from cugraph.testing import utils
  from cudf.testing import assert_series_equal
  from cudf.testing.testing import assert_frame_equal
  import dask_cudf
  import cugraph.dask
  from dask.distributed import Client
  from dask_cuda import LocalCUDACluster
  from pylibcugraph import ResourceHandle
  from pylibcugraph import bfs
  from cugraph.dask.traversal.bfs import convert_to_cudf
  from cugraph.dask.common.mg_utils import is_single_gpu
label_desc: Use image node_id 25 for calling a global function with example usage: test_neighbors(graph_file) without return types