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

This commit is contained in:
Antoine Pitrou 2010-10-30 17:33:22 +00:00
parent 8d2b51b46a
commit b6751dcff2
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ class LoopbackHttpServerThread(threading.Thread):
self._stop_server = True
self.join()
self.httpd.server_close()
def run(self):
self.ready.set()