code: def test_pad_invalid_padding_type():
      with pytest.raises(ValueError, match="to be an integer or float"):
          Pad(max_num_nodes=100, node_pad_value="somestring")
      with pytest.raises(ValueError, match="to be an integer or float"):
          Pad(max_num_nodes=100, edge_pad_value="somestring")
  
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 22 for calling a global function with example usage: test_pad_invalid_padding_type() without return types