code: def test_transform_with_wrap():
      # Arrange
      p = ImagePath.Path([0, 1, 2, 3])
      theta = math.pi / 15
  
      # Act
      # Affine transform, in-place, with wrap parameter
      p.transform(
          (
              math.cos(theta),
              math.sin(theta),
              20,
              -math.sin(theta),
              math.cos(theta),
              20,
          ),
          1.0,
      )
  
      # Assert
      assert p.tolist() == [
          (0.20791169081775962, 20.978147600733806),
          (0.5800302739208902, 22.518619420565898),
      ]
  
file_path: pillow/Tests/test_imagepath.py
imports: from __future__ import annotations
  import array
  import math
  import struct
  import pytest
  from PIL import Image, ImagePath
label_desc: Use image node_id 9 for calling a global function with example usage: test_transform_with_wrap() without return types