code: def test_subgraph_extraction_graph_not_renumbered():
      """
      Ensure subgraph() works with a Graph that has not been renumbered
      """
      gdf = karate.get_edgelist()
      verts = np.array([0, 1, 2], dtype=np.int32)
      sverts = cudf.Series(verts)
      G = cugraph.Graph()
      G.from_cudf_edgelist(
          gdf,
          source="src",
          destination="dst",
          edge_attr="wgt",
          renumber=False,
      )
      Sg = cugraph.subgraph(G, sverts)
  
      assert Sg.number_of_vertices() == 3
      assert Sg.number_of_edges() == 3
  
file_path: cugraph/python/cugraph/cugraph/tests/community/test_subgraph_extraction.py
imports: import gc
  import numpy
  import pytest
  import networkx
  import cudf
  import cugraph
  from cugraph.testing import utils, DEFAULT_DATASETS
  from cugraph.datasets import karate
label_desc: Use image node_id 9 for calling a global function with example usage: test_subgraph_extraction_graph_not_renumbered() without return types