[Python-checkins] cpython (3.2): Add the quote_plus call in the test.
senthil.kumaran
python-checkins at python.org
Tue Sep 13 00:42:43 CEST 2011
http://hg.python.org/cpython/rev/8f6d958f95c2
changeset: 72370:8f6d958f95c2
branch: 3.2
parent: 72366:eae8e4ab0455
user: Senthil Kumaran <senthil at uthcode.com>
date: Tue Sep 13 06:40:27 2011 +0800
summary:
Add the quote_plus call in the test.
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