From 38bfc4d0d543576cf71b60a9a790305c3a2c7a45 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Mon, 25 Sep 2000 15:09:28 +0000 Subject: [PATCH] Add a test for SF bug #110621; stripping square brackets off of addresses with domain literals. --- Lib/test/test_rfc822.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Lib/test/test_rfc822.py b/Lib/test/test_rfc822.py index 0d4c66f8809..36e7a512373 100644 --- a/Lib/test/test_rfc822.py +++ b/Lib/test/test_rfc822.py @@ -120,3 +120,7 @@ Date: Wed, 13 Jan 1999 23:57:35 -0500 test''', [('', 'goit@lip.com')]) + +test('''To: guido@[132.151.1.21] + +foo''', [('', 'guido@[132.151.1.21]')])