summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_urllib2.py
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-12-24 04:03:59 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2010-12-24 04:03:59 (GMT)
commit1e991f2de5d705155e430400c8cbc24071e3df72 (patch)
treecffd3e0dd6afbc94bded88a2fe22ce4407e366b9 /Lib/test/test_urllib2.py
parentc44befb82e747ab40ff32a97c50ea16f3ffb07dc (diff)
downloadcpython-1e991f2de5d705155e430400c8cbc24071e3df72.zip
cpython-1e991f2de5d705155e430400c8cbc24071e3df72.tar.gz
cpython-1e991f2de5d705155e430400c8cbc24071e3df72.tar.bz2
Fix some mistakes- Issue3243 (r87399) Correcting the operator precendence
problem with Content-Length header and uncommenting the test.
Diffstat (limited to 'Lib/test/test_urllib2.py')
-rw-r--r--Lib/test/test_urllib2.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/test/test_urllib2.py b/Lib/test/test_urllib2.py
index 1ce88af..b8a609e 100644
--- a/Lib/test/test_urllib2.py
+++ b/Lib/test/test_urllib2.py
@@ -839,7 +839,6 @@ class HandlerTests(unittest.TestCase):
# A file object
- """
file_obj = io.StringIO()
file_obj.write("Something\nSomething\nSomething\n")
@@ -863,7 +862,6 @@ class HandlerTests(unittest.TestCase):
req = Request("http://example.com/", iterable_array, headers)
newreq = h.do_request_(req)
self.assertEqual(int(newreq.get_header('Content-length')),16)
- """
def test_http_doubleslash(self):