]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add the quote_plus call in the test.
authorSenthil Kumaran <senthil@uthcode.com>
Mon, 12 Sep 2011 22:40:27 +0000 (06:40 +0800)
committerSenthil Kumaran <senthil@uthcode.com>
Mon, 12 Sep 2011 22:40:27 +0000 (06:40 +0800)
Lib/test/test_urllib.py

index ac023740ce63905a5426dba7238c8a28c8da1c46..c6dae1710e499621562cb138e9e8a9299babb1e6 100644 (file)
@@ -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))