code: def helper_assert_pickled_font_images(font1, font2):
      # Arrange
      im1 = Image.new(mode="RGBA", size=(300, 100))
      im2 = Image.new(mode="RGBA", size=(300, 100))
      draw1 = ImageDraw.Draw(im1)
      draw2 = ImageDraw.Draw(im2)
      txt = "Hello World!"
  
      # Act
      draw1.text((10, 10), txt, font=font1)
      draw2.text((10, 10), txt, font=font2)
  
      # Assert
      assert_image_equal(im1, im2)
  
file_path: pillow-simd/Tests/test_pickle.py
imports: import pickle
  import pytest
  from PIL import Image, ImageDraw, ImageFont
  from .helper import assert_image_equal, skip_unless_feature
label_desc: Use image node_id 6 for calling a global function with example usage: helper_assert_pickled_font_images(font1, font2) without return types