projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae7639d
)
There was a non-ascii character in the source. Replaced by a hex escape.
author
Jack Jansen
<jack.jansen@cwi.nl>
Tue, 23 Apr 2002 10:52:44 +0000
(10:52 +0000)
committer
Jack Jansen
<jack.jansen@cwi.nl>
Tue, 23 Apr 2002 10:52:44 +0000
(10:52 +0000)
Lib/test/test_email.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_email.py
b/Lib/test/test_email.py
index 7e38eda99f04bfbdf056cdcebd848079914e89d6..5d6adc001f84c4fbad1e015a9d45840d1502a595 100644
(file)
--- a/
Lib/test/test_email.py
+++ b/
Lib/test/test_email.py
@@
-1457,7
+1457,7
@@
class TestQuopri(unittest.TestCase):
# Test the keep_eols flag
eq(he('hello\nworld', keep_eols=1), '=?iso-8859-1?q?hello=0Aworld?=')
# Test a non-ASCII character
- eq(he('hello
Ç
there'), '=?iso-8859-1?q?hello=C7there?=')
+ eq(he('hello
\xc7
there'), '=?iso-8859-1?q?hello=C7there?=')
# Test the maxlinelen argument
eq(he('xxxx ' * 20, maxlinelen=40), """\
=?iso-8859-1?q?xxxx_xxxx_xxxx_xxxx_xx?=