diff options
author | Barry Warsaw <barry@python.org> | 2007-08-31 02:35:00 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2007-08-31 02:35:00 (GMT) |
commit | 00b34228bb98c378286c0b72a4a4098d5cdd384b (patch) | |
tree | e996cb33cd375a65960df6d5937dbea149f38fca /Lib/email/test | |
parent | 3bcc42ad0f18a97ecabb6bb8e645b88d23592a03 (diff) | |
download | cpython-00b34228bb98c378286c0b72a4a4098d5cdd384b.zip cpython-00b34228bb98c378286c0b72a4a4098d5cdd384b.tar.gz cpython-00b34228bb98c378286c0b72a4a4098d5cdd384b.tar.bz2 |
More email package fixes.
This repairs the linear whitespace insertion between RFC 2047 encoded words
without leaving bogus trailing spaces at the end lines that end in encoded
words.
Current status: 7F/9E
Diffstat (limited to 'Lib/email/test')
-rw-r--r-- | Lib/email/test/test_email.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/email/test/test_email.py b/Lib/email/test/test_email.py index 324332b..ef11e17 100644 --- a/Lib/email/test/test_email.py +++ b/Lib/email/test/test_email.py @@ -1556,7 +1556,7 @@ class TestRFC2047(TestEmailBase): header = make_header(dh) eq(str(header), 'Re: r\xe4ksm\xf6rg\xe5s baz foo bar r\xe4ksm\xf6rg\xe5s') - self.ndiffAssertEqual(header.encode(), """\ + self.ndiffAssertEqual(header.encode(maxlinelen=76), """\ Re: =?mac-iceland?q?r=8Aksm=9Arg=8Cs?= baz foo bar =?mac-iceland?q?r=8Aksm?= =?mac-iceland?q?=9Arg=8Cs?=""") |