[Python-checkins] r84085 - python/branches/py3k/Lib/test/test_ssl.py

antoine.pitrou python-checkins at python.org
Mon Aug 16 01:28:10 CEST 2010


Author: antoine.pitrou
Date: Mon Aug 16 01:28:10 2010
New Revision: 84085

Log:
Add debug output to the asyncore test



Modified:
   python/branches/py3k/Lib/test/test_ssl.py

Modified: python/branches/py3k/Lib/test/test_ssl.py
==============================================================================
--- python/branches/py3k/Lib/test/test_ssl.py	(original)
+++ python/branches/py3k/Lib/test/test_ssl.py	Mon Aug 16 01:28:10 2010
@@ -1279,9 +1279,17 @@
                 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."""


More information about the Python-checkins mailing list