code: def test_compose_image_mask_equal_size(targets):
      transforms = Compose([])
  
      with pytest.raises(ValueError) as exc_info:
          transforms(**targets)
  
      assert str(exc_info.value).startswith(
          "Height and Width of image, mask or masks should be equal. "
          "You can disable shapes check by setting a parameter is_check_shapes=False "
          "of Compose class (do it only if you are sure about your data consistency)."
      )
      # test after disabling shapes check
      transforms = Compose([], is_check_shapes=False)
      transforms(**targets)
  
imports: from __future__ import absolute_import
  import typing
  from unittest import mock
  from unittest.mock import MagicMock, Mock, call
  import cv2
  import numpy
  import pytest
  from albumentations import BasicTransform, Blur, ChannelShuffle, Crop, HorizontalFlip, MedianBlur, Normalize, PadIfNeeded, Resize, Rotate
  from albumentations.core.bbox_utils import check_bboxes
  from albumentations.core.composition import BaseCompose, BboxParams, Compose, KeypointParams, OneOf, OneOrOther, PerChannel, ReplayCompose, Sequential, SomeOf
  from albumentations.core.transforms_interface import DualTransform, ImageOnlyTransform, to_tuple
  from .utils import get_filtered_transforms
label_desc: Use image node_id 29 for calling a global function with example usage: test_compose_image_mask_equal_size(targets) without return types