code: def test_unicode_text(self):
      # Check preservation of non-ASCII characters
  
      def rt_text(value):
          im = Image.new("RGB", (32, 32))
          info = PngImagePlugin.PngInfo()
          info.add_text("Text", value)
          im = roundtrip(im, pnginfo=info)
          assert im.info == {"Text": value}
  
      rt_text(" Aa" + chr(0xA0) + chr(0xC4) + chr(0xFF))  # Latin1
      rt_text(chr(0x400) + chr(0x472) + chr(0x4FF))  # Cyrillic
      # CJK:
      rt_text(
          chr(0x4E00)
          + chr(0x66F0)
          + chr(0x9FBA)
          + chr(0x3042)
          + chr(0xAC00)
      )
      rt_text("A" + chr(0xC4) + chr(0x472) + chr(0x3042))
  
imports: import re
  import sys
  import zlib
  from io import BytesIO
  import pytest
  from PIL import Image, ImageFile, PngImagePlugin, features
  from .helper import PillowLeakTestCase, assert_image, assert_image_equal, assert_image_equal_tofile, hopper, is_win32, mark_if_feature_version, skip_unless_feature
label_desc: Use image node_id 25 for calling the TestFilePng obj's underlying member method code with example usage: obj.test_unicode_text() without return types