mirror of
https://github.com/python/cpython.git
synced 2025-10-12 01:43:12 +00:00
Close #19297: fix resource warnings in test_asyncio. Patch by Vajrasky Kok.
This commit is contained in:
parent
5121debebf
commit
a7a150c7c6
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue