code: def test_builtinfilter_p():
      builtin_filter = ImageFilter.BuiltinFilter()
  
      with pytest.raises(ValueError):
          builtin_filter.filter(hopper("P"))
  
file_path: pillow/Tests/test_image_filter.py
imports: from __future__ import annotations
  import pytest
  from PIL import Image, ImageFilter
  from .helper import assert_image_equal, hopper
label_desc: Use image node_id 8 for calling a global function with example usage: test_builtinfilter_p() without return types