code: def test_pubmeddiabetes_load() -> None:
      g, labels = PubMedDiabetes().load()
  
      n_nodes = 19717
  
      assert g.number_of_nodes() == n_nodes
      assert g.number_of_edges() == 44338
  
      assert g.node_feature_sizes() == {"paper": 500}
  
      assert len(labels) == n_nodes
      assert set(labels.index) == set(g.nodes())
  
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 21 for calling a global function with example usage: test_pubmeddiabetes_load() without return types