code: def test_invalid_file():
      with open("Tests/images/flower.jpg", "rb") as fp:
          with pytest.raises(SyntaxError):
              IcoImagePlugin.IcoImageFile(fp)
  
file_path: pillow-simd/Tests/test_file_ico.py
imports: import io
  import pytest
  from PIL import IcoImagePlugin, Image, ImageDraw
  from .helper import assert_image_equal, assert_image_equal_tofile, hopper
label_desc: Use image node_id 4 for calling a global function with example usage: test_invalid_file() without return types