code: def test_rgb_transparency(tmp_path):
      out = str(tmp_path / "temp.gif")
  
      # Single frame
      im = Image.new("RGB", (1, 1))
      im.info["transparency"] = (255, 0, 0)
      im.save(out)
  
      with Image.open(out) as reloaded:
          assert "transparency" in reloaded.info
  
      # Multiple frames
      im = Image.new("RGB", (1, 1))
      im.info["transparency"] = b""
      ims = [Image.new("RGB", (1, 1))]
      pytest.warns(
          UserWarning, im.save, out, save_all=True, append_images=ims
      )
  
      with Image.open(out) as reloaded:
          assert "transparency" not in reloaded.info
  
imports: from io import BytesIO
  import pytest
  from PIL import GifImagePlugin, Image, ImageDraw, ImagePalette, features
  from .helper import assert_image_equal, assert_image_equal_tofile, assert_image_similar, hopper, is_pypy, netpbm_available
label_desc: Use image node_id 50 for calling a global function with example usage: test_rgb_transparency(tmp_path) without return types