From 47ac4e6b4103ab0022737f93f90fa4e739a7de20 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 15 Jun 1999 18:56:46 +0000 Subject: [PATCH] Add the test case provided by Barry Scott for his patch. --- Lib/test/test_rfc822.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Lib/test/test_rfc822.py b/Lib/test/test_rfc822.py index 798ae2b43c7..96654f49dc6 100644 --- a/Lib/test/test_rfc822.py +++ b/Lib/test/test_rfc822.py @@ -108,3 +108,8 @@ def test(msg, results): test''', [('last, first', 'userid@foo.net'), ]) + +test('''To: (Comment stuff) "Quoted name"@somewhere.com + +test''', [('Comment stuff', '"Quoted name"@somewhere.com'), + ])