code: def test_truncated_fits():
      # No END to headers
      image_data = (
          b"SIMPLE  =                    T" + b" " * 50 + b"TRUNCATE"
      )
      with pytest.raises(OSError):
          FitsStubImagePlugin.FITSStubImageFile(BytesIO(image_data))
  
file_path: pillow-simd/Tests/test_file_fitsstub.py
imports: from io import BytesIO
  import pytest
  from PIL import FitsStubImagePlugin, Image
label_desc: Use image node_id 4 for calling a global function with example usage: test_truncated_fits() without return types