diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-08-15 23:28:10 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-08-15 23:28:10 (GMT) |
commit | ed9863685f6e93d62775c0ef4c8ce82eedf67f67 (patch) | |
tree | ac39f887453116a2a07bd823868cd05c083c8a4e /Lib | |
parent | f4c7badc028e3f389a76c293fcb6efa80e16d670 (diff) | |
download | cpython-ed9863685f6e93d62775c0ef4c8ce82eedf67f67.zip cpython-ed9863685f6e93d62775c0ef4c8ce82eedf67f67.tar.gz cpython-ed9863685f6e93d62775c0ef4c8ce82eedf67f67.tar.bz2 |
Add debug output to the asyncore test
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_ssl.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 56a1b04..a4cef88 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.""" |