summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2014-08-22 16:27:06 +0530
committerSenthil Kumaran <senthil@uthcode.com>2014-08-22 16:27:06 +0530
commitf499931b33cc95f2715fc2f65bb32f6fa5ff2f0d (patch)
tree3545f505e95fcea12cf59e21ebe8b83d61b79faf
parent55ac5b3f7b67bf7c721f00bddb8456f7886c449f (diff)
parenta969ae2e112dd40ad3e31714ec11bf17864a0309 (diff)
downloadcpython-git-f499931b33cc95f2715fc2f65bb32f6fa5ff2f0d.tar.gz
merge from 3.4
Fix issue22245 - Fix urllib2_localnet test. Do not aggresively close wfile in the do_GET method in the BasicAuthHandler.
-rw-r--r--Lib/test/test_urllib2_localnet.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/test/test_urllib2_localnet.py b/Lib/test/test_urllib2_localnet.py
index 6d0f7e41d2..d0a8a0f94f 100644
--- a/Lib/test/test_urllib2_localnet.py
+++ b/Lib/test/test_urllib2_localnet.py
@@ -238,7 +238,6 @@ class BasicAuthHandler(http.server.BaseHTTPRequestHandler):
else:
# Request Unauthorized
self.do_AUTHHEAD()
- self.wfile.close()