From: Antoine Pitrou Date: Sun, 15 Aug 2010 22:16:23 +0000 (+0000) Subject: Following Ezio's suggestion, force verbose mode on test_ssl to diagnose freezes on 3.x X-Git-Tag: v3.2a2~290 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=968dc03f24f71c47bee4614f0bcbf53eabdc8867;p=thirdparty%2FPython%2Fcpython.git Following Ezio's suggestion, force verbose mode on test_ssl to diagnose freezes on 3.x --- diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 39aaba2402fa..9003a82c77f2 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -1486,9 +1486,12 @@ def test_main(verbose=False): if thread_info and support.is_resource_enabled('network'): tests.append(ThreadedTests) + old_verbose = support.verbose try: + support.verbose = True support.run_unittest(*tests) finally: + support.verbose = old_verbose if _have_threads: support.threading_cleanup(*thread_info)