From: Barry Warsaw Date: Tue, 20 Aug 2002 12:54:07 +0000 (+0000) Subject: test_three_lines(): Test case reported by Andrew McNamara. Works in X-Git-Tag: v2.3c1~4393 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b404bb7813f3d05b7d338ff5c1c5dc6c59b946c6;p=thirdparty%2FPython%2Fcpython.git test_three_lines(): Test case reported by Andrew McNamara. Works in email 2.2 but fails in email 1.0. --- diff --git a/Lib/email/test/test_email.py b/Lib/email/test/test_email.py index e4fb8bfe0cb0..4c84fe106add 100644 --- a/Lib/email/test/test_email.py +++ b/Lib/email/test/test_email.py @@ -1740,6 +1740,14 @@ Here's the message body eq(part2a.get_type(), 'text/plain') neq(part2a.get_payload(), 'message 2\n') + def test_three_lines(self): + # A bug report by Andrew McNamara + lines = ['From: Andrew Person