From: Senthil Kumaran Date: Fri, 22 Aug 2014 10:56:21 +0000 (+0530) Subject: Fix issue22245 - Fix urllib2_localnet test. X-Git-Tag: v3.4.2rc1~101 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a969ae2e112dd40ad3e31714ec11bf17864a0309;p=thirdparty%2FPython%2Fcpython.git Fix issue22245 - Fix urllib2_localnet test. Do not aggresively close wfile in the do_GET method in the BasicAuthHandler. --- diff --git a/Lib/test/test_urllib2_localnet.py b/Lib/test/test_urllib2_localnet.py index 6d0f7e41d22a..d0a8a0f94fb4 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()