code: def test_seek():
      with Image.open("Tests/images/dispose_none.gif") as img:
          frame_count = 0
          try:
              while True:
                  frame_count += 1
                  img.seek(img.tell() + 1)
          except EOFError:
              assert frame_count == 5
  
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 18 for calling a global function with example usage: test_seek() without return types