code: def test_frame_size():
      # This image has been hexedited to contain a different size
      # in the EXIF data of the second frame
      with Image.open("Tests/images/sugarshack_frame_size.mpo") as im:
          assert im.size == (640, 480)
  
          im.seek(1)
          assert im.size == (680, 480)
  
          im.seek(0)
          assert im.size == (640, 480)
  
imports: from __future__ import annotations
  import warnings
  from io import BytesIO
  import pytest
  from PIL import Image
  from .helper import assert_image_equal, assert_image_similar, is_pypy, skip_unless_feature
label_desc: Use image node_id 9 for calling a global function with example usage: test_frame_size() without return types