summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-06-15 18:56:46 (GMT)
committerGuido van Rossum <guido@python.org>1999-06-15 18:56:46 (GMT)
commit47ac4e6b4103ab0022737f93f90fa4e739a7de20 (patch)
treef4ddc4333e9bab5f4dde9319cf27acfba2a0afcd
parentb18448705501a5962ebd3946033fdc4b03cdf58a (diff)
downloadcpython-47ac4e6b4103ab0022737f93f90fa4e739a7de20.zip
cpython-47ac4e6b4103ab0022737f93f90fa4e739a7de20.tar.gz
cpython-47ac4e6b4103ab0022737f93f90fa4e739a7de20.tar.bz2
Add the test case provided by Barry Scott for his patch.
-rw-r--r--Lib/test/test_rfc822.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_rfc822.py b/Lib/test/test_rfc822.py
index 798ae2b..96654f4 100644
--- a/Lib/test/test_rfc822.py
+++ b/Lib/test/test_rfc822.py
@@ -108,3 +108,8 @@ test('''To: "last, first" <userid@foo.net>
test''', [('last, first', 'userid@foo.net'),
])
+
+test('''To: (Comment stuff) "Quoted name"@somewhere.com
+
+test''', [('Comment stuff', '"Quoted name"@somewhere.com'),
+ ])