code: def test_apng_sequence_errors():
      test_files = [
          "sequence_start.png",
          "sequence_gap.png",
          "sequence_repeat.png",
          "sequence_repeat_chunk.png",
          "sequence_reorder.png",
          "sequence_reorder_chunk.png",
          "sequence_fdat_fctl.png",
      ]
      for f in test_files:
          with pytest.raises(SyntaxError):
              with Image.open(f"Tests/images/apng/{f}") as im:
                  im.seek(im.n_frames - 1)
                  im.load()
  
imports: import pytest
  from PIL import Image, ImageSequence, PngImagePlugin
label_desc: Use image node_id 14 for calling a global function with example usage: test_apng_sequence_errors() without return types