code: def test_blur_formats(test_images):
      im = test_images["im"]
  
      blur = ImageFilter.GaussianBlur
      with pytest.raises(ValueError):
          im.convert("1").filter(blur)
      blur(im.convert("L"))
      with pytest.raises(ValueError):
          im.convert("I").filter(blur)
      with pytest.raises(ValueError):
          im.convert("F").filter(blur)
      im.convert("RGB").filter(blur)
      im.convert("RGBA").filter(blur)
      im.convert("CMYK").filter(blur)
      with pytest.raises(ValueError):
          im.convert("YCbCr").filter(blur)
  
imports: import pytest
  from PIL import Image, ImageFilter
label_desc: Use image node_id 4 for calling a global function with example usage: test_blur_formats(test_images) without return types