[Python-checkins] cpython: Close #19297: fix resource warnings in test_asyncio. Patch by Vajrasky Kok.

antoine.pitrou python-checkins at python.org
Sun Oct 20 23:26:30 CEST 2013


http://hg.python.org/cpython/rev/8ad3e9cf9590
changeset:   86520:8ad3e9cf9590
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Sun Oct 20 23:26:23 2013 +0200
summary:
  Close #19297: fix resource warnings in test_asyncio.  Patch by Vajrasky Kok.

files:
  Lib/asyncio/test_utils.py |  1 +
  1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/Lib/asyncio/test_utils.py b/Lib/asyncio/test_utils.py
--- a/Lib/asyncio/test_utils.py
+++ b/Lib/asyncio/test_utils.py
@@ -126,6 +126,7 @@
         yield httpd
     finally:
         httpd.shutdown()
+        httpd.server_close()
         server_thread.join()
 
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list