[Python-checkins] cpython (merge 3.2 -> default): merge from 3.2 - Add the missing quote_plus call. Fix closes Issue12924

senthil.kumaran python-checkins at python.org
Tue Sep 13 00:42:43 CEST 2011


http://hg.python.org/cpython/rev/e25526865339
changeset:   72371:e25526865339
parent:      72368:c3fd4f956020
parent:      72370:8f6d958f95c2
user:        Senthil Kumaran <senthil at uthcode.com>
date:        Tue Sep 13 06:41:43 2011 +0800
summary:
  merge from 3.2 - Add the missing quote_plus call. Fix closes Issue12924

files:
  Lib/test/test_urllib.py |  1 +
  1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_urllib.py b/Lib/test/test_urllib.py
--- a/Lib/test/test_urllib.py
+++ b/Lib/test/test_urllib.py
@@ -490,6 +490,7 @@
         result = urllib.parse.quote(partial_quote)
         self.assertEqual(expected, result,
                          "using quote(): %r != %r" % (expected, result))
+        result = urllib.parse.quote_plus(partial_quote)
         self.assertEqual(expected, result,
                          "using quote_plus(): %r != %r" % (expected, result))
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list