diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-10-30 17:33:22 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-10-30 17:33:22 (GMT) |
commit | b6751dcff26281f25441d657963dc26ca08dee78 (patch) | |
tree | 6f992a8b13d4fd503ea938e17799eea45a18d521 | |
parent | 8d2b51b46a1ba0e09f7ee8cb78c848768a675604 (diff) | |
download | cpython-b6751dcff26281f25441d657963dc26ca08dee78.zip cpython-b6751dcff26281f25441d657963dc26ca08dee78.tar.gz cpython-b6751dcff26281f25441d657963dc26ca08dee78.tar.bz2 |
Issue #10250: fix resource warnings in test_urllib2_localnet. Patch by Brian Brazil.
-rw-r--r-- | Lib/test/test_urllib2_localnet.py | 1 |
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() |