(self)
| 942 | """)) |
| 943 | |
| 944 | def test_qp_encode_non_latin1(self): |
| 945 | # Issue 16948 |
| 946 | msg = MIMEText('\u017c\n', 'text', 'ISO-8859-2') |
| 947 | self.assertEqual(str(msg), textwrap.dedent("""\ |
| 948 | MIME-Version: 1.0 |
| 949 | Content-Type: text/text; charset="iso-8859-2" |
| 950 | Content-Transfer-Encoding: quoted-printable |
| 951 | |
| 952 | =BF |
| 953 | """)) |
| 954 | |
| 955 | |
| 956 | # Test long header wrapping |
nothing calls this directly
no test coverage detected