code: def test_transparent_dispose():
      expected_colors = [
          (2, 1, 2),
          ((0, 255, 24, 255), (0, 0, 255, 255), (0, 255, 24, 255)),
          ((0, 0, 0, 0), (0, 0, 255, 255), (0, 0, 0, 0)),
      ]
      with Image.open("Tests/images/transparent_dispose.gif") as img:
          for frame in range(3):
              img.seek(frame)
              for x in range(3):
                  color = img.getpixel((x, 0))
                  assert color == expected_colors[frame][x]
  
imports: from io import BytesIO
  import pytest
  from PIL import GifImagePlugin, Image, ImageDraw, ImagePalette, features
  from .helper import assert_image_equal, assert_image_equal_tofile, assert_image_similar, hopper, is_pypy, netpbm_available
label_desc: Use image node_id 28 for calling a global function with example usage: test_transparent_dispose() without return types