From 0d4c34c6ecde228c6b4c87ffce136313a85387ab Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Tue, 13 Sep 2011 06:42:21 +0800 Subject: [PATCH] Port the fix for Issue12924 (missing quote_plus) to 2.7 branch. --- Lib/test/test_urllib.py | 1 + 1 file changed, 1 insertion(+) 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) -- 2.40.0