mirror of
https://github.com/python/cpython.git
synced 2025-10-16 11:49:57 +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
|
yield httpd
|
||||||
finally:
|
finally:
|
||||||
httpd.shutdown()
|
httpd.shutdown()
|
||||||
|
httpd.server_close()
|
||||||
server_thread.join()
|
server_thread.join()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue