code: def test_pickle_image(tmp_path, test_file, test_mode):
      # Act / Assert
      for protocol in range(0, pickle.HIGHEST_PROTOCOL + 1):
          helper_pickle_string(pickle, protocol, test_file, test_mode)
          helper_pickle_file(
              tmp_path, pickle, protocol, test_file, test_mode
          )
  
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 3 for calling a global function with example usage: test_pickle_image(tmp_path, test_file, test_mode) without return types