From b404bb7813f3d05b7d338ff5c1c5dc6c59b946c6 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Tue, 20 Aug 2002 12:54:07 +0000 Subject: [PATCH] test_three_lines(): Test case reported by Andrew McNamara. Works in email 2.2 but fails in email 1.0. --- Lib/email/test/test_email.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Lib/email/test/test_email.py b/Lib/email/test/test_email.py index e4fb8bfe0c..4c84fe106a 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