code: def test_exif(test_file):
      with Image.open(test_file) as im_original:
          im_reloaded = roundtrip(
              im_original, save_all=True, exif=im_original.getexif()
          )
  
      for im in (im_original, im_reloaded):
          info = im._getexif()
          assert info[272] == "Nintendo 3DS"
          assert info[296] == 2
          assert info[34665] == 188
  
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 8 for calling a global function with example usage: test_exif(test_file) without return types