[Python-checkins] cpython (2.7): Port the fix for Issue12924 (missing quote_plus) to 2.7 branch.

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


http://hg.python.org/cpython/rev/e8d8eb9e05fd
changeset:   72372:e8d8eb9e05fd
branch:      2.7
parent:      72369:a698ad2741da
user:        Senthil Kumaran <senthil at uthcode.com>
date:        Tue Sep 13 06:42:21 2011 +0800
summary:
  Port the fix for Issue12924 (missing quote_plus) to 2.7 branch.

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
@@ -407,6 +407,7 @@
         result = urllib.quote(partial_quote)
         self.assertEqual(expected, result,
                          "using quote(): %s != %s" % (expected, result))
+        result = urllib.quote_plus(partial_quote)
         self.assertEqual(expected, result,
                          "using quote_plus(): %s != %s" % (expected, result))
         self.assertRaises(TypeError, urllib.quote, None)

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


More information about the Python-checkins mailing list