summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_urllib2_localnet.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-10-30 17:33:22 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-10-30 17:33:22 (GMT)
commitb6751dcff26281f25441d657963dc26ca08dee78 (patch)
tree6f992a8b13d4fd503ea938e17799eea45a18d521 /Lib/test/test_urllib2_localnet.py
parent8d2b51b46a1ba0e09f7ee8cb78c848768a675604 (diff)
downloadcpython-b6751dcff26281f25441d657963dc26ca08dee78.zip
cpython-b6751dcff26281f25441d657963dc26ca08dee78.tar.gz
cpython-b6751dcff26281f25441d657963dc26ca08dee78.tar.bz2
Issue #10250: fix resource warnings in test_urllib2_localnet. Patch by Brian Brazil.
Diffstat (limited to 'Lib/test/test_urllib2_localnet.py')
-rw-r--r--Lib/test/test_urllib2_localnet.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_urllib2_localnet.py b/Lib/test/test_urllib2_localnet.py
index 872b2be..9e1ce5b 100644
--- a/Lib/test/test_urllib2_localnet.py
+++ b/Lib/test/test_urllib2_localnet.py
@@ -66,6 +66,7 @@ class LoopbackHttpServerThread(threading.Thread):
self._stop_server = True
self.join()
+ self.httpd.server_close()
def run(self):
self.ready.set()