code: def test_random_walks_invalid_max_dept(
      graph_file, directed, max_depth
  ):
      input_graph = graph_file.get_graph(
          create_using=cugraph.Graph(directed=directed)
      )
      with pytest.raises(TypeError):
          _, _, _ = calc_random_walks(input_graph, max_depth=max_depth)
  
file_path: cugraph/python/cugraph/cugraph/tests/sampling/test_random_walks.py
imports: import gc
  import random
  import pytest
  import networkx
  import cudf
  import cugraph
  from cudf.testing import assert_series_equal
  from cugraph.utilities import ensure_cugraph_obj_for_nx
  from cugraph.testing import SMALL_DATASETS, DEFAULT_DATASETS
label_desc: Use image node_id 5 for calling a global function with example usage: test_random_walks_invalid_max_dept(graph_file, directed, max_depth) without return types