diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2011-09-12 22:40:27 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2011-09-12 22:40:27 (GMT) |
commit | 305a68eb4ac74c9c1989e460176c854c0c8fdfe2 (patch) | |
tree | b33d4213b4afab10a0e83fc8aaeb722ce64d74f0 /Lib/test/test_urllib.py | |
parent | bbe46d63ee9b624c011b4fe50978e2e7fa7cf82e (diff) | |
download | cpython-305a68eb4ac74c9c1989e460176c854c0c8fdfe2.zip cpython-305a68eb4ac74c9c1989e460176c854c0c8fdfe2.tar.gz cpython-305a68eb4ac74c9c1989e460176c854c0c8fdfe2.tar.bz2 |
Add the quote_plus call in the test.
Diffstat (limited to 'Lib/test/test_urllib.py')
-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 ac02374..c6dae17 100644 --- a/Lib/test/test_urllib.py +++ b/Lib/test/test_urllib.py @@ -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)) |