code: def test_gif_with_rgba_palette_to_p():
      # See https://github.com/python-pillow/Pillow/issues/2433
      with Image.open("Tests/images/hopper.gif") as im:
          im.info["transparency"] = 255
          im.load()
          assert im.palette.mode == "RGB"
          im_p = im.convert("P")
  
      # Should not raise ValueError: unrecognized raw mode
      im_p.load()
  
imports: from __future__ import annotations
  import pytest
  from PIL import Image
  from .helper import assert_image, assert_image_equal, assert_image_similar, hopper
label_desc: Use image node_id 16 for calling a global function with example usage: test_gif_with_rgba_palette_to_p() without return types