From ed9863685f6e93d62775c0ef4c8ce82eedf67f67 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sun, 15 Aug 2010 23:28:10 +0000 Subject: [PATCH] Add debug output to the asyncore test --- Lib/test/test_ssl.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 56a1b04993..a4cef88f01 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -1279,9 +1279,17 @@ else: if support.verbose: sys.stdout.write(" client: closing connection.\n") s.close() + if support.verbose: + sys.stdout.write(" client: connection closed.\n") finally: + if support.verbose: + sys.stdout.write(" cleanup: stopping server.\n") server.stop() + if support.verbose: + sys.stdout.write(" cleanup: joining server thread.\n") server.join() + if support.verbose: + sys.stdout.write(" cleanup: successfully joined.\n") def test_recv_send(self): """Test recv(), send() and friends.""" -- 2.40.0