code: def make_dirty_case(self, mode, clean_pixel, dirty_pixel):
      i = Image.new(mode, (64, 64), dirty_pixel)
      px = i.load()
      xdiv4 = i.size[0] // 4
      ydiv4 = i.size[1] // 4
      for y in range(ydiv4 * 2):
          for x in range(xdiv4 * 2):
              px[x + xdiv4, y + ydiv4] = clean_pixel
      return i
  
imports: from contextlib import contextmanager
  import pytest
  from PIL import Image, ImageDraw
  from .helper import assert_image_equal, assert_image_similar, hopper, mark_if_feature_version
label_desc: Use image node_id 5 for calling the TestCoreResampleAlphaCorrect obj's underlying member method code with example usage: obj.make_dirty_case(mode, clean_pixel, dirty_pixel) and returns: i