code: def test_seek():
      with Image.open(TEST_FILE) as im:
          im.seek(0)
          assert im.tell() == 0
  
          with pytest.raises(EOFError):
              im.seek(99)
          assert im.tell() == 0
  
file_path: pillow/Tests/test_file_mic.py
imports: from __future__ import annotations
  import pytest
  from PIL import Image, ImagePalette
  from .helper import assert_image_similar, hopper, skip_unless_feature
label_desc: Use image node_id 5 for calling a global function with example usage: test_seek() without return types