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

This commit is contained in:
Antoine Pitrou 2013-10-20 23:26:23 +02:00
parent 5121debebf
commit a7a150c7c6
1 changed files with 1 additions and 0 deletions

View File

@ -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()