code: def test_iterator_min_frame():
      with Image.open("Tests/images/hopper.psd") as im:
          i = ImageSequence.Iterator(im)
          for index in range(1, im.n_frames):
              assert i[index] == next(i)
  
file_path: pillow/Tests/test_imagesequence.py
imports: from __future__ import annotations
  import pytest
  from PIL import Image, ImageSequence, TiffImagePlugin
  from .helper import assert_image_equal, hopper, skip_unless_feature
label_desc: Use image node_id 3 for calling a global function with example usage: test_iterator_min_frame() without return types