code: def test_bfs_paths_array():
      with pytest.raises(ValueError) as ErrorMsg:
          gc.collect()
          G = karate.get_graph()
  
          # run BFS starting at vertex 17
          df = cugraph.bfs(G, 16)
  
          # Get the path to vertex 1
          answer = cugraph.utils.get_traversed_path_list(df, 0)
  
          assert len(answer) == 3
  
          # Get path to vertex 0 - which is not in graph
          answer = cugraph.utils.get_traversed_path_list(df, 100)
  
          assert "not in the result set" in str(ErrorMsg)
  
file_path: cugraph/python/cugraph/cugraph/tests/utils/test_utils.py
imports: import gc
  import pytest
  import numpy
  import cudf
  import cugraph
  from cugraph.testing import utils
  from cugraph.datasets import karate
label_desc: Use image node_id 2 for calling a global function with example usage: test_bfs_paths_array() without return types