code: def test_image_solid(self, mode):
      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 __future__ import annotations
  import pytest
  from PIL import Image
  from .helper import CachedProperty, assert_image_equal
label_desc: Use image node_id 10 for calling the TestImagingPaste obj's underlying member method code with example usage: obj.test_image_solid(mode) without return types