]> granicus.if.org Git - python/commitdiff
Add debug output to the asyncore test
authorAntoine Pitrou <solipsis@pitrou.net>
Sun, 15 Aug 2010 23:28:10 +0000 (23:28 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Sun, 15 Aug 2010 23:28:10 +0000 (23:28 +0000)
Lib/test/test_ssl.py

index 56a1b04993716db62aff12bae8743b03fc7432e0..a4cef88f0174e28b30cb10fccaccdfe79632f3bc 100644 (file)
@@ -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."""