code: def test_fill(self):
      for mode, pixel in [
          ["RGB", (255, 0, 0)],
          ["RGBA", (255, 0, 0, 255)],
          ["LA", (76, 0)],
      ]:
          im = hopper(mode)
          (w, h) = im.size
          transformed = im.transform(
              im.size,
              Image.EXTENT,
              (0, 0, w * 2, h * 2),
              Image.BILINEAR,
              fillcolor="red",
          )
  
          assert transformed.getpixel((w - 1, h - 1)) == pixel
  
imports: import math
  import pytest
  from PIL import Image, ImageTransform
  from .helper import assert_image_equal, assert_image_similar, hopper
label_desc: Use image node_id 6 for calling the TestImageTransform obj's underlying member method code with example usage: obj.test_fill() without return types