summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1999-07-12 18:47:00 (GMT)
committerBarry Warsaw <barry@python.org>1999-07-12 18:47:00 (GMT)
commit7c5b9d1fa95df002801b0ae810d2b58e33a34db6 (patch)
treedd2dc6cb32d4d8f5b1cecc99eed2f86abbbb8bf2 /Lib
parent96e9bf45e8978e5f237460ac93e6f03c82cba06d (diff)
downloadcpython-7c5b9d1fa95df002801b0ae810d2b58e33a34db6.zip
cpython-7c5b9d1fa95df002801b0ae810d2b58e33a34db6.tar.gz
cpython-7c5b9d1fa95df002801b0ae810d2b58e33a34db6.tar.bz2
added a test for "To: :" patch
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_rfc822.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/Lib/test/test_rfc822.py b/Lib/test/test_rfc822.py
index 96654f4..0d4c66f 100644
--- a/Lib/test/test_rfc822.py
+++ b/Lib/test/test_rfc822.py
@@ -113,3 +113,10 @@ test('''To: (Comment stuff) "Quoted name"@somewhere.com
test''', [('Comment stuff', '"Quoted name"@somewhere.com'),
])
+
+test('''To: :
+Cc: goit@lip.com
+Date: Wed, 13 Jan 1999 23:57:35 -0500
+
+test''', [('', 'goit@lip.com')])
+