diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2012-07-09 01:00:47 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2012-07-09 01:00:47 (GMT) |
commit | 612a81582092a6a92672097ffbe22beccd546f0a (patch) | |
tree | c57acd2056c99621be7be69bf821ce661edb885f /Lib/test/test_urllib.py | |
parent | 9ae947338911a73070254f1999f42d4bf3713ec4 (diff) | |
parent | 168456df1158beee5a5051c108a9052a9aebba27 (diff) | |
download | cpython-612a81582092a6a92672097ffbe22beccd546f0a.zip cpython-612a81582092a6a92672097ffbe22beccd546f0a.tar.gz cpython-612a81582092a6a92672097ffbe22beccd546f0a.tar.bz2 |
revert the changes done for issue14826 - quoting witin Request is not desirable.
Diffstat (limited to 'Lib/test/test_urllib.py')
-rw-r--r-- | Lib/test/test_urllib.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Lib/test/test_urllib.py b/Lib/test/test_urllib.py index af3f0ad..22ada56 100644 --- a/Lib/test/test_urllib.py +++ b/Lib/test/test_urllib.py @@ -1272,11 +1272,6 @@ class RequestTests(unittest.TestCase): request.method = 'HEAD' self.assertEqual(request.get_method(), 'HEAD') - def test_quote_url(self): - Request = urllib.request.Request - request = Request("http://www.python.org/foo bar") - self.assertEqual(request.full_url, "http://www.python.org/foo%20bar") - def test_main(): support.run_unittest( |