summaryrefslogtreecommitdiff
path: root/Lib/test/test_rfc822.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-06-15 18:56:46 +0000
committerGuido van Rossum <guido@python.org>1999-06-15 18:56:46 +0000
commit47ac4e6b4103ab0022737f93f90fa4e739a7de20 (patch)
treef4ddc4333e9bab5f4dde9319cf27acfba2a0afcd /Lib/test/test_rfc822.py
parentb18448705501a5962ebd3946033fdc4b03cdf58a (diff)
downloadcpython-git-47ac4e6b4103ab0022737f93f90fa4e739a7de20.tar.gz
Add the test case provided by Barry Scott for his patch.
Diffstat (limited to 'Lib/test/test_rfc822.py')
-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 798ae2b43c..96654f49dc 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'),
+ ])