code: def test_ItemSet_repr():
      # ItemSet with single name.
      item_set = gb.ItemSet(torch.arange(0, 5), names="seed_nodes")
      expected_str = (
          "ItemSet(\n"
          "    items=(tensor([0, 1, 2, 3, 4]),),\n"
          "    names=('seed_nodes',),\n"
          ")"
      )
  
      assert str(item_set) == expected_str, item_set
  
      # ItemSet with multiple names.
      item_set = gb.ItemSet(
          (torch.arange(0, 5), torch.arange(5, 10)),
          names=("seed_nodes", "labels"),
      )
      expected_str = (
          "ItemSet(\n"
          "    items=(tensor([0, 1, 2, 3, 4]), tensor([5, 6, 7, 8, 9])),\n"
          "    names=('seed_nodes', 'labels'),\n"
          ")"
      )
      assert str(item_set) == expected_str, item_set
  
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 16 for calling a global function with example usage: test_ItemSet_repr() without return types