There was a non-ascii character in the source. Replaced by a hex escape.
authorJack Jansen <jack.jansen@cwi.nl>
Tue, 23 Apr 2002 10:52:44 +0000 (10:52 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Tue, 23 Apr 2002 10:52:44 +0000 (10:52 +0000)
Lib/test/test_email.py

index 7e38eda99f04bfbdf056cdcebd848079914e89d6..5d6adc001f84c4fbad1e015a9d45840d1502a595 100644 (file)
@@ -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\xc7there'), '=?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?=