diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2011-09-12 22:42:21 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2011-09-12 22:42:21 (GMT) |
commit | 0d4c34c6ecde228c6b4c87ffce136313a85387ab (patch) | |
tree | be4963fd6c26fada97a2c328ce36ba08bbba232f /Lib | |
parent | aa3af53f1ff7f0eceefecb9b47d5af82940772ee (diff) | |
download | cpython-0d4c34c6ecde228c6b4c87ffce136313a85387ab.zip cpython-0d4c34c6ecde228c6b4c87ffce136313a85387ab.tar.gz cpython-0d4c34c6ecde228c6b4c87ffce136313a85387ab.tar.bz2 |
Port the fix for Issue12924 (missing quote_plus) to 2.7 branch.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_urllib.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_urllib.py b/Lib/test/test_urllib.py index 401dd5c..3f644fb 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) |