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 @@ test('''To: "last, first" test''', [('last, first', 'userid@foo.net'), ]) + +test('''To: (Comment stuff) "Quoted name"@somewhere.com + +test''', [('Comment stuff', '"Quoted name"@somewhere.com'), + ])