code: def test_hotspot(tmp_path):
      im = hopper("1")
      out = str(tmp_path / "temp.xbm")
  
      hotspot = (0, 7)
      im.save(out, hotspot=hotspot)
  
      with Image.open(out) as reloaded:
          assert reloaded.info["hotspot"] == hotspot
  
file_path: pillow-simd/Tests/test_file_xbm.py
imports: from io import BytesIO
  import pytest
  from PIL import Image
  from .helper import hopper
label_desc: Use image node_id 5 for calling a global function with example usage: test_hotspot(tmp_path) without return types