code: def test_image_solid(self):
      for mode in ("RGBA", "RGB", "L"):
          im = Image.new(mode, (200, 200), "red")
          im2 = getattr(self, "gradient_" + mode)
  
          im.paste(im2, (12, 23))
  
          im = im.crop((12, 23, im2.width + 12, im2.height + 23))
          assert_image_equal(im, im2)
  
imports: from PIL import Image
  from .helper import assert_image_equal, cached_property
label_desc: Use image node_id 9 for calling the TestImagingPaste obj's underlying member method code with example usage: obj.test_image_solid() without return types