def METHOD_NAME(self):
    with pytest.raises(TypeError):
        tta_transform = dict(
            type='TestTimeAug',
            transforms=[dict(type='Resize', keep_ratio=False)],
        )
        TRANSFORMS.build(tta_transform)