summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2014-08-22 10:56:21 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2014-08-22 10:56:21 (GMT)
commita969ae2e112dd40ad3e31714ec11bf17864a0309 (patch)
treecfddc0f870672d04d7a8a197aa86c0b09f50ab9c /Lib/test
parent783737625d1f06f78b53eee6331d2f428ffe4d27 (diff)
downloadcpython-a969ae2e112dd40ad3e31714ec11bf17864a0309.zip
cpython-a969ae2e112dd40ad3e31714ec11bf17864a0309.tar.gz
cpython-a969ae2e112dd40ad3e31714ec11bf17864a0309.tar.bz2
Fix issue22245 - Fix urllib2_localnet test.
Do not aggresively close wfile in the do_GET method in the BasicAuthHandler.
Diffstat (limited to 'Lib/test')
-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 6d0f7e4..d0a8a0f 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()