summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2011-09-13 06:42:21 +0800
committerSenthil Kumaran <senthil@uthcode.com>2011-09-13 06:42:21 +0800
commit0d4c34c6ecde228c6b4c87ffce136313a85387ab (patch)
treebe4963fd6c26fada97a2c328ce36ba08bbba232f
parentaa3af53f1ff7f0eceefecb9b47d5af82940772ee (diff)
downloadcpython-git-0d4c34c6ecde228c6b4c87ffce136313a85387ab.tar.gz
Port the fix for Issue12924 (missing quote_plus) to 2.7 branch.
-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 401dd5ca0c..3f644fbea8 100644
--- a/Lib/test/test_urllib.py
+++ b/Lib/test/test_urllib.py
@@ -407,6 +407,7 @@ class QuotingTests(unittest.TestCase):
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)