code: def test_invalid_image_shape(self):
      with mp_selfie_segmentation.SelfieSegmentation() as selfie_segmentation:
          with self.assertRaisesRegex(
              ValueError,
              "Input image must contain three channel rgb data.",
          ):
              selfie_segmentation.process(
                  np.arange(36, dtype=np.uint8).reshape(3, 3, 4)
              )
  
file_path: mediapipe/mediapipe/python/solutions/selfie_segmentation_test.py
imports: import os
  from absl.testing import absltest
  from absl.testing import parameterized
  import cv2
  import numpy
  from mediapipe.python.solutions import selfie_segmentation
label_desc: Use image node_id 2 for calling the SelfieSegmentationTest obj's underlying member method code with example usage: obj.test_invalid_image_shape() without return types