Commit b6751dcf authored by Antoine Pitrou's avatar Antoine Pitrou

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

parent 8d2b51b4
......@@ -66,6 +66,7 @@ class LoopbackHttpServerThread(threading.Thread):
self._stop_server = True
self.join()
self.httpd.server_close()
def run(self):
self.ready.set()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment