code: def test_save(test_file):
      with Image.open(test_file) as im:
          assert im.tell() == 0
          jpg0 = roundtrip(im)
          assert_image_similar(im, jpg0, 30)
          im.seek(1)
          assert im.tell() == 1
          jpg1 = roundtrip(im)
          assert_image_similar(im, jpg1, 30)
  
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 21 for calling a global function with example usage: test_save(test_file) without return types