From b6751dcff26281f25441d657963dc26ca08dee78 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sat, 30 Oct 2010 17:33:22 +0000 Subject: [PATCH] Issue #10250: fix resource warnings in test_urllib2_localnet. Patch by Brian Brazil. --- Lib/test/test_urllib2_localnet.py | 1 + 1 file changed, 1 insertion(+) 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() -- 2.40.0