revert the changes done in d931a3b64fd6 - buildbot failure.

The fix for issue14826 might need to address toBytes and test_url_encoding in
test_cookielib.py before it is brought back in.
This commit is contained in:
Senthil Kumaran 2012-07-08 02:20:27 -07:00
parent 01fe5fa8ea
commit 5d60e56a17
3 changed files with 1 additions and 13 deletions

View file

@ -1325,12 +1325,6 @@ class RequestTests(unittest.TestCase):
req = Request("<URL:http://www.python.org>")
self.assertEqual("www.python.org", req.get_host())
def test_quoted_full_url(self):
Request = urllib2.Request
request = Request('http://www.python.org/foo bar')
self.assertEqual(request.get_full_url(),
'http://www.python.org/foo%20bar')
def test_url_fragment(self):
req = Request("http://www.python.org/?qs=query#fragment=true")
self.assertEqual("/?qs=query", req.get_selector())