code: def test_bad_args(self) -> None:
      t = torch.empty((0,))
      with self.assertRaises(RuntimeError):
          match_shape(t, ..., ...)
      with self.assertRaises(RuntimeError):
          match_shape(t, "foo")
      with self.assertRaises(AttributeError):
          match_shape(None)
  
file_path: PyTorch-BigGraph/test/test_util.py
imports: from unittest import main, TestCase
  import torch
  from torchbiggraph.util import match_shape, round_up_to_nearest_multiple, split_almost_equally
label_desc: Use image node_id 4 for calling the TestMatchShape obj's underlying member method code with example usage: obj.test_bad_args() without return types