code: def test_pickle_image(tmp_path, test_file, test_mode, protocol):
      # Act / Assert
      helper_pickle_string(pickle, protocol, test_file, test_mode)
      helper_pickle_file(
          tmp_path, pickle, protocol, test_file, test_mode
      )
  
file_path: pillow/Tests/test_pickle.py
imports: from __future__ import annotations
  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, protocol) without return types