code: def test_dirty_pixels_rgba(self):
      case = self.make_dirty_case(
          "RGBA", (255, 255, 0, 128), (0, 0, 255, 0)
      )
      self.run_dirty_case(
          case.resize((20, 20), Image.Resampling.BOX), (255, 255, 0)
      )
      self.run_dirty_case(
          case.resize((20, 20), Image.Resampling.BILINEAR),
          (255, 255, 0),
      )
      self.run_dirty_case(
          case.resize((20, 20), Image.Resampling.HAMMING), (255, 255, 0)
      )
      self.run_dirty_case(
          case.resize((20, 20), Image.Resampling.BICUBIC), (255, 255, 0)
      )
      self.run_dirty_case(
          case.resize((20, 20), Image.Resampling.LANCZOS), (255, 255, 0)
      )
  
imports: from __future__ import annotations
  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 7 for calling the TestCoreResampleAlphaCorrect obj's underlying member method code with example usage: obj.test_dirty_pixels_rgba() without return types