Kaydet (Commit) a7a150c7 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Close #19297: fix resource warnings in test_asyncio. Patch by Vajrasky Kok.

üst 5121debe
...@@ -126,6 +126,7 @@ def run_test_server(*, host='127.0.0.1', port=0, use_ssl=False): ...@@ -126,6 +126,7 @@ def run_test_server(*, host='127.0.0.1', port=0, use_ssl=False):
yield httpd yield httpd
finally: finally:
httpd.shutdown() httpd.shutdown()
httpd.server_close()
server_thread.join() server_thread.join()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment