code: def test_non_ascii_chars_do_not_cause_inf_loop(self):
      policy = email.policy.default.clone(max_line_length=20)
      actual = policy.fold("Subject", "ą" * 12)
      self.assertEqual(
          actual, "Subject: \n" + 12 * " =?utf-8?q?=C4=85?=\n"
      )
  
imports: import io
  import types
  import textwrap
  import unittest
  import email.errors
  import email.policy
  import email.parser
  import email.generator
  import email.message
  from email import headerregistry
label_desc: Use image node_id 19 for calling the PolicyAPITests obj's underlying member method code with example usage: obj.test_non_ascii_chars_do_not_cause_inf_loop() without return types