code: def test_iterating(test_images):
      with iio.get_reader(test_images / "newtonscradle.gif") as file:
          for count, img in enumerate(file):
              assert img.shape == (150, 200, 3)
  
          assert count == len(file) - 1
  
file_path: imageio/tests/test_v2.py
imports: import pytest
  import imageio.v2
  import numpy
label_desc: Use image node_id 4 for calling a global function with example usage: test_iterating(test_images) without return types