code: def test_iterator(fx_asset):
      with Image(filename=str(fx_asset.joinpath("apple.ico"))) as img:
          container_size = img.sequence[img.sequence.current_index].size
          actual = []
          expected = [(32, 32), (16, 16), (32, 32), (16, 16)]
          for i in img.sequence:
              actual.append(i.size)
              assert img.size == container_size
          assert actual == expected
  
imports: from __future__ import print_function
  from pytest import mark, raises
  from wand.api import library
  from wand.image import Image
label_desc: Use image node_id 12 for calling a global function with example usage: test_iterator(fx_asset) without return types