code: def test_seek_after_close():
      im = Image.open(animated_test_file)
      im.seek(1)
      im.close()
  
      with pytest.raises(ValueError):
          im.seek(0)
  
file_path: pillow/Tests/test_file_fli.py
imports: from __future__ import annotations
  import warnings
  import pytest
  from PIL import FliImagePlugin, Image
  from .helper import assert_image_equal, assert_image_equal_tofile, is_pypy
label_desc: Use image node_id 4 for calling a global function with example usage: test_seek_after_close() without return types