code: def test_citeseer_load(largest_cc_only) -> None:
      g, subjects = CiteSeer().load(largest_cc_only)
  
      if largest_cc_only:
          expected_nodes = 2110
          expected_edges = 3757
      else:
          expected_nodes = 3312
          expected_edges = 4715
  
      assert g.number_of_nodes() == expected_nodes
      assert g.number_of_edges() == expected_edges
  
      assert len(subjects) == g.number_of_nodes()
      assert set(subjects.index) == set(g.nodes())
  
      assert set(subjects) == {"AI", "Agents", "DB", "HCI", "IR", "ML"}
  
imports: import pytest
  import tempfile
  import os
  import sys
  import numpy
  from stellargraph.datasets import *
  from urllib.error import URLError
  from stellargraph.datasets.dataset_loader import DatasetLoader
  from urllib.request import urlretrieve
  from unittest.mock import patch
label_desc: Use image node_id 15 for calling a global function with example usage: test_citeseer_load(largest_cc_only) without return types