summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-08-15 23:28:10 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-08-15 23:28:10 (GMT)
commited9863685f6e93d62775c0ef4c8ce82eedf67f67 (patch)
treeac39f887453116a2a07bd823868cd05c083c8a4e /Lib
parentf4c7badc028e3f389a76c293fcb6efa80e16d670 (diff)
downloadcpython-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.py8
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."""