From: Antoine Pitrou Date: Sat, 30 Oct 2010 17:33:22 +0000 (+0000) Subject: Issue #10250: fix resource warnings in test_urllib2_localnet. Patch by Brian Brazil. X-Git-Tag: v3.2a4~253 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b6751dcff26281f25441d657963dc26ca08dee78;p=python Issue #10250: fix resource warnings in test_urllib2_localnet. Patch by Brian Brazil. --- diff --git a/Lib/test/test_urllib2_localnet.py b/Lib/test/test_urllib2_localnet.py index 872b2be7be..9e1ce5bb9e 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()