Commit 0d4c34c6 authored by Senthil Kumaran's avatar Senthil Kumaran

Port the fix for Issue12924 (missing quote_plus) to 2.7 branch.

parent aa3af53f
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment