mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Added test case that includes a comma in the full name. This tests
for an old bug that's been gone a while, but was still documented until a few minutes from now.
This commit is contained in:
parent
ea07f2751a
commit
5712fa9250
1 changed files with 7 additions and 0 deletions
|
@ -80,3 +80,10 @@ test''', [('', ''),
|
|||
('', 'dd47@mail.xxx.edu'),
|
||||
('', '_at_hmhq@hdq-mdm1-imgout.companay.com')
|
||||
])
|
||||
|
||||
# This exercises the old commas-in-a-full-name bug, which should be doing the
|
||||
# right thing in recent versions of the module.
|
||||
test('''To: "last, first" <userid@foo.net>
|
||||
|
||||
test''', [('last, first', 'userid@foo.net'),
|
||||
])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue