code: def test_sanity():
      with Image.open(TEST_FILE) as im:
          im.load()
          assert im.mode == "P"
          assert im.size == (128, 128)
          assert im.format == "XPM"
  
          # large error due to quantization->44 colors.
          assert_image_similar(im.convert("RGB"), hopper("RGB"), 60)
  
imports: import pytest
  from PIL import Image, XpmImagePlugin
  from .helper import assert_image_similar, hopper
label_desc: Use image node_id 1 for calling a global function with example usage: test_sanity() without return types