code: def test_template_transform_incorrect_size(template):
      image = np.random.randint(0, 256, (512, 512, 3), np.uint8)
      with pytest.raises(ValueError) as exc_info:
          transform = A.TemplateTransform(template, always_apply=True)
          transform(image=image)
  
      message = "Image and template must be the same size, got {} and {}".format(
          image.shape[:2], template.shape[:2]
      )
      assert str(exc_info.value) == message
  
imports: import random
  from functools import partial
  import cv2
  import numpy
  import pytest
  import albumentations
  import albumentations.augmentations.functional
  import albumentations.augmentations.geometric.functional
  from albumentations.augmentations.blur.functional import gaussian_blur
  from .utils import get_dual_transforms, get_image_only_transforms, get_transforms
label_desc: Use image node_id 43 for calling a global function with example usage: test_template_transform_incorrect_size(template) without return types