mirror of https://github.com/python/cpython
Port the fix for Issue12924 (missing quote_plus) to 2.7 branch.
This commit is contained in:
parent
aa3af53f1f
commit
0d4c34c6ec
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue