code: def test_invalid_file():
      invalid_file = "Tests/images/flower.jpg"
  
      with pytest.raises(ValueError):
          SgiImagePlugin.SgiImageFile(invalid_file)
  
file_path: pillow-simd/Tests/test_file_sgi.py
imports: import pytest
  from PIL import Image, SgiImagePlugin
  from .helper import assert_image_equal, assert_image_equal_tofile, assert_image_similar, hopper
label_desc: Use image node_id 7 for calling a global function with example usage: test_invalid_file() without return types