From: Barry Warsaw Date: Mon, 25 Sep 2000 15:09:28 +0000 (+0000) Subject: Add a test for SF bug #110621; stripping square brackets off of X-Git-Tag: v2.0b2~41 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=38bfc4d0d543576cf71b60a9a790305c3a2c7a45;p=thirdparty%2FPython%2Fcpython.git Add a test for SF bug #110621; stripping square brackets off of addresses with domain literals. --- diff --git a/Lib/test/test_rfc822.py b/Lib/test/test_rfc822.py index 0d4c66f88096..36e7a5123738 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]')])