code: def test_ItemSet_graphs():
      # Graphs.
      graphs = [dgl.rand_graph(10, 20) for _ in range(5)]
      item_set = gb.ItemSet(graphs)
      assert item_set.names is None
      # Iterating over ItemSet and indexing one by one.
      for i, item in enumerate(item_set):
          assert graphs[i] == item
          assert graphs[i] == item_set[i]
      # Indexing with a slice.
      assert item_set[:] == graphs
  
imports: import re
  import dgl
  import pytest
  import torch
  from dgl import graphbolt
  from torch.testing import assert_close
label_desc: Use image node_id 8 for calling a global function with example usage: test_ItemSet_graphs() without return types