code: def test_exception(self):
      with pytest.raises(TypeError):
          tta_transform = dict(
              type="TestTimeAug",
              transforms=[dict(type="Resize", keep_ratio=False)],
          )
          TRANSFORMS.build(tta_transform)
  
file_path: mmdetection/tests/test_datasets/test_tta.py
imports: import os.path
  from unittest import TestCase
  import mmcv
  import pytest
  from mmdet.datasets.transforms import *
  from mmdet.registry import TRANSFORMS
label_desc: Use image node_id 1 for calling the TestMuitiScaleFlipAug obj's underlying member method code with example usage: obj.test_exception() without return types