code: def test_sanity():
      with Image.open(test_file) as im:
          im.load()
          assert im.mode == "RGB"
          assert im.size == (128, 128)
          assert im.format == "PSD"
          assert im.get_format_mimetype() == "image/vnd.adobe.photoshop"
  
          im2 = hopper()
          assert_image_similar(im, im2, 4.8)
  
file_path: pillow-simd/Tests/test_file_psd.py
imports: import pytest
  from PIL import Image, PsdImagePlugin
  from .helper import assert_image_similar, hopper, is_pypy
label_desc: Use image node_id 1 for calling a global function with example usage: test_sanity() without return types