[Python-checkins] python/dist/src/Lib/test/output test_cgi,1.2,1.3
nascheme at users.sourceforge.net
nascheme at users.sourceforge.net
Mon Jul 19 17:37:54 CEST 2004
Update of /cvsroot/python/python/dist/src/Lib/test/output
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19350/Lib/test/output
Modified Files:
test_cgi
Log Message:
Don't return spurious empty fields if 'keep_empty_values' is True.
Fixes SF bug #990307.
Index: test_cgi
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/output/test_cgi,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** test_cgi 15 Sep 2000 20:06:57 -0000 1.2
--- test_cgi 19 Jul 2004 15:37:52 -0000 1.3
***************
*** 1,3 ****
--- 1,14 ----
test_cgi
+ '' => []
+ '&' => []
+ '&&' => []
+ '=' => [('', '')]
+ '=a' => [('', 'a')]
+ 'a' => [('a', '')]
+ 'a=' => [('a', '')]
+ 'a=' => [('a', '')]
+ '&a=b' => [('a', 'b')]
+ 'a=a+b&b=b+c' => [('a', 'a b'), ('b', 'b c')]
+ 'a=1&a=2' => [('a', '1'), ('a', '2')]
''
'&'
More information about the Python-checkins
mailing list