Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a7a150c

Browse files
committed
Close #19297: fix resource warnings in test_asyncio. Patch by Vajrasky Kok.
1 parent 5121deb commit a7a150c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/asyncio/test_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ def app(environ, start_response):
126126
yield httpd
127127
finally:
128128
httpd.shutdown()
129+
httpd.server_close()
129130
server_thread.join()
130131

131132

0 commit comments

Comments
 (0)