code: def test_invalid_file():
      invalid_file = "Tests/images/flower.jpg"
  
      with pytest.raises(SyntaxError):
          XbmImagePlugin.XbmImageFile(invalid_file)
  
file_path: pillow/Tests/test_file_xbm.py
imports: from __future__ import annotations
  from io import BytesIO
  import pytest
  from PIL import Image, XbmImagePlugin
  from .helper import hopper
label_desc: Use image node_id 4 for calling a global function with example usage: test_invalid_file() without return types