summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_urllib.py
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2011-09-12 22:41:43 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2011-09-12 22:41:43 (GMT)
commitb7a690aeb43da6e873a60456d22517c4bd46e573 (patch)
tree05fa0a1badf871ecfab02c2f828a2ed0062a2691 /Lib/test/test_urllib.py
parent88354ed8e3ce747e3e6f3a20d1f2f2b68fb69421 (diff)
parent305a68eb4ac74c9c1989e460176c854c0c8fdfe2 (diff)
downloadcpython-b7a690aeb43da6e873a60456d22517c4bd46e573.zip
cpython-b7a690aeb43da6e873a60456d22517c4bd46e573.tar.gz
cpython-b7a690aeb43da6e873a60456d22517c4bd46e573.tar.bz2
merge from 3.2 - Add the missing quote_plus call. Fix closes Issue12924
Diffstat (limited to 'Lib/test/test_urllib.py')
-rw-r--r--Lib/test/test_urllib.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_urllib.py b/Lib/test/test_urllib.py
index 7d35f10..671708a 100644
--- a/Lib/test/test_urllib.py
+++ b/Lib/test/test_urllib.py
@@ -490,6 +490,7 @@ class QuotingTests(unittest.TestCase):
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))