diff -r fa65c32d7134 Lib/test/test_http_cookies.py --- a/Lib/test/test_http_cookies.py Thu Sep 24 14:45:00 2015 +0200 +++ b/Lib/test/test_http_cookies.py Thu Sep 24 12:49:00 2015 -0400 @@ -56,7 +56,16 @@ 'Set-Cookie: d=r', 'Set-Cookie: f=h' )) - } + }, + { + 'data': 'a=b; messages=[\"\"]; c=d;', + 'dict': {'a':'b', 'c':'d'}, + 'repr': "", + 'output': '\n'.join(( + 'Set-Cookie: a=b', + 'Set-Cookie: c=d', + )) + }, ] for case in cases: