code: def test_rgba_quantize():
      image = hopper("RGBA")
      with pytest.raises(ValueError):
          image.quantize(method=0)
  
      assert image.quantize().convert().mode == "RGBA"
  
file_path: pillow-simd/Tests/test_image_quantize.py
imports: import pytest
  from PIL import Image
  from .helper import assert_image_similar, hopper, is_ppc64le
label_desc: Use image node_id 4 for calling a global function with example usage: test_rgba_quantize() without return types