[Python-checkins] r85983 - python/branches/py3k/Lib/test/test_urllib2_localnet.py

antoine.pitrou python-checkins at python.org
Sat Oct 30 19:33:22 CEST 2010


Author: antoine.pitrou
Date: Sat Oct 30 19:33:22 2010
New Revision: 85983

Log:
Issue #10250: fix resource warnings in test_urllib2_localnet.  Patch by Brian Brazil.




Modified:
   python/branches/py3k/Lib/test/test_urllib2_localnet.py

Modified: python/branches/py3k/Lib/test/test_urllib2_localnet.py
==============================================================================
--- python/branches/py3k/Lib/test/test_urllib2_localnet.py	(original)
+++ python/branches/py3k/Lib/test/test_urllib2_localnet.py	Sat Oct 30 19:33:22 2010
@@ -66,6 +66,7 @@
         self._stop_server = True
 
         self.join()
+        self.httpd.server_close()
 
     def run(self):
         self.ready.set()


More information about the Python-checkins mailing list