diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-10-20 21:26:23 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-10-20 21:26:23 (GMT) |
commit | a7a150c7c65e8022027ed0f48cd6f867fcf31949 (patch) | |
tree | fa0e7b74102573b5ea54f225d665ddd8daf71019 | |
parent | 5121debebf9bd36bc2ace57c6ce714a50c5d064e (diff) | |
download | cpython-a7a150c7c65e8022027ed0f48cd6f867fcf31949.zip cpython-a7a150c7c65e8022027ed0f48cd6f867fcf31949.tar.gz cpython-a7a150c7c65e8022027ed0f48cd6f867fcf31949.tar.bz2 |
Close #19297: fix resource warnings in test_asyncio. Patch by Vajrasky Kok.
-rw-r--r-- | Lib/asyncio/test_utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/asyncio/test_utils.py b/Lib/asyncio/test_utils.py index d650c44..c278dd1 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() |