code: def test_trns_l(tmp_path):
      im = hopper("L")
      im.info["transparency"] = 128
  
      f = str(tmp_path / "temp.png")
  
      im_la = im.convert("LA")
      assert "transparency" not in im_la.info
      im_la.save(f)
  
      im_rgb = im.convert("RGB")
      assert im_rgb.info["transparency"] == (128, 128, 128)  # undone
      im_rgb.save(f)
  
      im_p = im.convert("P")
      assert "transparency" in im_p.info
      im_p.save(f)
  
      im_p = im.convert("P", palette=Image.Palette.ADAPTIVE)
      assert "transparency" in im_p.info
      im_p.save(f)
  
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 13 for calling a global function with example usage: test_trns_l(tmp_path) without return types