code: def test_sanity(tmp_path):
      test_file = str(tmp_path / "temp.msp")
  
      hopper("1").save(test_file)
  
      with Image.open(test_file) as im:
          im.load()
          assert im.mode == "1"
          assert im.size == (128, 128)
          assert im.format == "MSP"
  
file_path: pillow/Tests/test_file_msp.py
imports: from __future__ import annotations
  import os
  import pytest
  from PIL import Image, MspImagePlugin
  from .helper import assert_image_equal, assert_image_equal_tofile, hopper
label_desc: Use image node_id 1 for calling a global function with example usage: test_sanity(tmp_path) without return types