code: def test_color_mask_1(self, mode):
      im = Image.new(mode, (200, 200), (50, 60, 70, 80)[: len(mode)])
      color = (10, 20, 30, 40)[: len(mode)]
  
      self.assert_9points_paste(
          im,
          color,
          self.mask_1,
          [
              (50, 60, 70, 80),
              (50, 60, 70, 80),
              (10, 20, 30, 40),
              (50, 60, 70, 80),
              (50, 60, 70, 80),
              (10, 20, 30, 40),
              (10, 20, 30, 40),
              (10, 20, 30, 40),
              (50, 60, 70, 80),
          ],
      )
  
imports: from __future__ import annotations
  import pytest
  from PIL import Image
  from .helper import CachedProperty, assert_image_equal
label_desc: Use image node_id 17 for calling the TestImagingPaste obj's underlying member method code with example usage: obj.test_color_mask_1(mode) without return types