code: def test_16bit_pgm_write(tmp_path):
      with Image.open("Tests/images/16_bit_binary.pgm") as im:
          im.load()
  
          f = str(tmp_path / "temp.pgm")
          im.save(f, "PPM")
  
          assert_image_equal_tofile(im, f)
  
file_path: pillow-simd/Tests/test_file_ppm.py
imports: import sys
  from io import BytesIO
  import pytest
  from PIL import Image
  from .helper import assert_image_equal_tofile, assert_image_similar, hopper
label_desc: Use image node_id 3 for calling a global function with example usage: test_16bit_pgm_write(tmp_path) without return types