Kaydet (Commit) 1476c275 authored tarafından Jack Jansen's avatar Jack Jansen

There was a non-ascii character in the source. Replaced by a hex escape.

üst ae7639db
...@@ -1457,7 +1457,7 @@ class TestQuopri(unittest.TestCase): ...@@ -1457,7 +1457,7 @@ class TestQuopri(unittest.TestCase):
# Test the keep_eols flag # Test the keep_eols flag
eq(he('hello\nworld', keep_eols=1), '=?iso-8859-1?q?hello=0Aworld?=') eq(he('hello\nworld', keep_eols=1), '=?iso-8859-1?q?hello=0Aworld?=')
# Test a non-ASCII character # Test a non-ASCII character
eq(he('hellothere'), '=?iso-8859-1?q?hello=C7there?=') eq(he('hello\xc7there'), '=?iso-8859-1?q?hello=C7there?=')
# Test the maxlinelen argument # Test the maxlinelen argument
eq(he('xxxx ' * 20, maxlinelen=40), """\ eq(he('xxxx ' * 20, maxlinelen=40), """\
=?iso-8859-1?q?xxxx_xxxx_xxxx_xxxx_xx?= =?iso-8859-1?q?xxxx_xxxx_xxxx_xxxx_xx?=
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment