mirror of
https://github.com/python/cpython.git
synced 2025-09-04 07:51:13 +00:00
There was a non-ascii character in the source. Replaced by a hex escape.
This commit is contained in:
parent
ae7639dbfb
commit
1476c2753b
1 changed files with 1 additions and 1 deletions
|
@ -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('helloÇthere'), '=?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?=
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue