diff options
author | Barry Warsaw <barry@python.org> | 2000-09-25 15:09:28 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2000-09-25 15:09:28 (GMT) |
commit | 38bfc4d0d543576cf71b60a9a790305c3a2c7a45 (patch) | |
tree | 3593b4665947e22e8d28ec90c7b2c5c965fcc7cd /Lib/test | |
parent | 02706f5898915acbf9442d8464211f10477ef34a (diff) | |
download | cpython-38bfc4d0d543576cf71b60a9a790305c3a2c7a45.zip cpython-38bfc4d0d543576cf71b60a9a790305c3a2c7a45.tar.gz cpython-38bfc4d0d543576cf71b60a9a790305c3a2c7a45.tar.bz2 |
Add a test for SF bug #110621; stripping square brackets off of
addresses with domain literals.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_rfc822.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_rfc822.py b/Lib/test/test_rfc822.py index 0d4c66f..36e7a51 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]')]) |