[Python-checkins] cpython (3.4): Fix issue22245 - Fix urllib2_localnet test.

senthil.kumaran python-checkins at python.org
Fri Aug 22 12:57:24 CEST 2014


http://hg.python.org/cpython/rev/48a77fbfd6cb
changeset:   92176:48a77fbfd6cb
branch:      3.4
parent:      92161:30e8a8f22a2a
user:        Senthil Kumaran <senthil at uthcode.com>
date:        Fri Aug 22 16:26:21 2014 +0530
summary:
  Fix issue22245 - Fix urllib2_localnet test.

Do not aggresively close wfile in the do_GET method in the BasicAuthHandler.

files:
  Lib/test/test_urllib2_localnet.py |  1 -
  1 files changed, 0 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_urllib2_localnet.py b/Lib/test/test_urllib2_localnet.py
--- a/Lib/test/test_urllib2_localnet.py
+++ b/Lib/test/test_urllib2_localnet.py
@@ -238,7 +238,6 @@
         else:
             # Request Unauthorized
             self.do_AUTHHEAD()
-        self.wfile.close()
 
 
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list