merge from 3.2 - Add the missing quote_plus call. Fix closes Issue12924

This commit is contained in:
Senthil Kumaran 2011-09-13 06:41:43 +08:00
commit b7a690aeb4
1 changed files with 1 additions and 0 deletions

View File

@ -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))