code: def test_color_mask_RGBa(self, mode):
      im = getattr(self, "gradient_" + mode).copy()
      color = "white"
  
      self.assert_9points_paste(
          im,
          color,
          self.gradient_RGBa,
          [
              (255, 63, 126, 63),
              (47, 143, 142, 46),
              (126, 253, 126, 255),
              (15, 15, 47, 47),
              (63, 63, 62, 63),
              (142, 141, 46, 47),
              (255, 255, 255, 0),
              (48, 15, 15, 47),
              (126, 63, 255, 63),
          ],
      )
  
imports: from __future__ import annotations
  import pytest
  from PIL import Image
  from .helper import CachedProperty, assert_image_equal
label_desc: Use image node_id 20 for calling the TestImagingPaste obj's underlying member method code with example usage: obj.test_color_mask_RGBa(mode) without return types