diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 56a1b049937..a4cef88f017 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -1279,9 +1279,17 @@ def test_asyncore_server(self): 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."""