From a969ae2e112dd40ad3e31714ec11bf17864a0309 Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Fri, 22 Aug 2014 16:26:21 +0530 Subject: Fix issue22245 - Fix urllib2_localnet test. Do not aggresively close wfile in the do_GET method in the BasicAuthHandler. --- Lib/test/test_urllib2_localnet.py | 1 - 1 file changed, 1 deletion(-) 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() -- cgit v0.12