code: def test_previous_frame_loaded():
      with Image.open("Tests/images/dispose_none.gif") as img:
          img.load()
          img.seek(1)
          img.load()
          img.seek(2)
          with Image.open(
              "Tests/images/dispose_none.gif"
          ) as img_skipped:
              img_skipped.seek(2)
              assert_image_equal(img_skipped, img)
  
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 31 for calling a global function with example usage: test_previous_frame_loaded() without return types