code: def test_pad_num_nodes_not_complete():
      data = fake_hetero_data(node_types=2, edge_types=1)
      transform = Pad(max_num_nodes={"v0": 100})
  
      with pytest.raises(KeyError):
          transform(data)
  
imports: import numbers
  from typing import Dict, Generator, List, Optional, Tuple, Union
  import pytest
  import torch
  from torch_geometric.data import Data, HeteroData
  from torch_geometric.datasets import FakeDataset, FakeHeteroDataset
  from torch_geometric.transforms import Pad
  from torch_geometric.transforms.pad import AttrNamePadding, EdgeTypePadding, NodeTypePadding, Padding, UniformPadding
  from torch_geometric.typing import EdgeType, NodeType
label_desc: Use image node_id 21 for calling a global function with example usage: test_pad_num_nodes_not_complete() without return types