From a7a150c7c65e8022027ed0f48cd6f867fcf31949 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sun, 20 Oct 2013 23:26:23 +0200 Subject: Close #19297: fix resource warnings in test_asyncio. Patch by Vajrasky Kok. --- Lib/asyncio/test_utils.py | 1 + 1 file changed, 1 insertion(+) (limited to 'Lib/asyncio/test_utils.py') diff --git a/Lib/asyncio/test_utils.py b/Lib/asyncio/test_utils.py index d650c4476a..c278dd1773 100644 --- a/Lib/asyncio/test_utils.py +++ b/Lib/asyncio/test_utils.py @@ -126,6 +126,7 @@ def run_test_server(*, host='127.0.0.1', port=0, use_ssl=False): yield httpd finally: httpd.shutdown() + httpd.server_close() server_thread.join() -- cgit v1.2.1