From: Senthil Kumaran Date: Mon, 12 Sep 2011 22:40:27 +0000 (+0800) Subject: Add the quote_plus call in the test. X-Git-Tag: v3.2.3rc1~570 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=305a68eb4ac74c9c1989e460176c854c0c8fdfe2;p=thirdparty%2FPython%2Fcpython.git Add the quote_plus call in the test. --- diff --git a/Lib/test/test_urllib.py b/Lib/test/test_urllib.py index ac023740ce63..c6dae1710e49 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))