code: def test_exif_transpose_in_place():
      with Image.open("Tests/images/orientation_rectangle.jpg") as im:
          assert im.size == (2, 1)
          assert im.getexif()[0x0112] == 8
          expected = im.rotate(90, expand=True)
  
          ImageOps.exif_transpose(im, in_place=True)
          assert im.size == (1, 2)
          assert 0x0112 not in im.getexif()
          assert_image_equal(im, expected)
  
imports: from __future__ import annotations
  import pytest
  from PIL import Image, ImageDraw, ImageOps, ImageStat, features
  from .helper import assert_image_equal, assert_image_similar, assert_image_similar_tofile, assert_tuple_approx_equal, hopper
label_desc: Use image node_id 17 for calling a global function with example usage: test_exif_transpose_in_place() without return types