code: def test_seek_errors():
      with Image.open("Tests/images/iss634.webp") as im:
          with pytest.raises(EOFError):
              im.seek(-1)
  
          with pytest.raises(EOFError):
              im.seek(42)
  
file_path: pillow-simd/Tests/test_file_webp_animated.py
imports: import pytest
  from PIL import Image
  from .helper import assert_image_equal, assert_image_similar, is_big_endian, skip_unless_feature
label_desc: Use image node_id 6 for calling a global function with example usage: test_seek_errors() without return types