mirror of https://github.com/python/cpython
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
|
@ -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…
Reference in New Issue