]> granicus.if.org Git - python/commitdiff
Following Ezio's suggestion, force verbose mode on test_ssl to diagnose freezes on 3.x
authorAntoine Pitrou <solipsis@pitrou.net>
Sun, 15 Aug 2010 22:16:23 +0000 (22:16 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Sun, 15 Aug 2010 22:16:23 +0000 (22:16 +0000)
Lib/test/test_ssl.py

index 39aaba2402fa051f4239192399b2295fdce18af5..9003a82c77f2af4934f8288cffb8d90366258fe0 100644 (file)
@@ -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)