]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add a test for SF bug #110621; stripping square brackets off of
authorBarry Warsaw <barry@python.org>
Mon, 25 Sep 2000 15:09:28 +0000 (15:09 +0000)
committerBarry Warsaw <barry@python.org>
Mon, 25 Sep 2000 15:09:28 +0000 (15:09 +0000)
addresses with domain literals.

Lib/test/test_rfc822.py

index 0d4c66f88096a1e3e04f556e4ab71bc63a983f30..36e7a51237384379765965fa383f69f9d4f24fed 100644 (file)
@@ -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]')])