mirror of https://github.com/python/cpython
Close #19297: fix resource warnings in test_asyncio. Patch by Vajrasky Kok.
This commit is contained in:
parent
5121debebf
commit
a7a150c7c6
|
@ -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()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue