From: Antoine Pitrou Date: Sun, 20 Oct 2013 21:26:23 +0000 (+0200) Subject: Close #19297: fix resource warnings in test_asyncio. Patch by Vajrasky Kok. X-Git-Tag: v3.4.0b1~571^2~42 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a7a150c7c65e8022027ed0f48cd6f867fcf31949;p=thirdparty%2FPython%2Fcpython.git Close #19297: fix resource warnings in test_asyncio. Patch by Vajrasky Kok. --- diff --git a/Lib/asyncio/test_utils.py b/Lib/asyncio/test_utils.py index d650c4476a06..c278dd1773c2 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()