mirror of
https://github.com/python/cpython.git
synced 2025-09-28 11:15:17 +00:00
Following Ezio's suggestion, force verbose mode on test_ssl to diagnose freezes on 3.x
This commit is contained in:
parent
e3c39ae53e
commit
968dc03f24
1 changed files with 3 additions and 0 deletions
|
@ -1486,9 +1486,12 @@ def test_main(verbose=False):
|
||||||
if thread_info and support.is_resource_enabled('network'):
|
if thread_info and support.is_resource_enabled('network'):
|
||||||
tests.append(ThreadedTests)
|
tests.append(ThreadedTests)
|
||||||
|
|
||||||
|
old_verbose = support.verbose
|
||||||
try:
|
try:
|
||||||
|
support.verbose = True
|
||||||
support.run_unittest(*tests)
|
support.run_unittest(*tests)
|
||||||
finally:
|
finally:
|
||||||
|
support.verbose = old_verbose
|
||||||
if _have_threads:
|
if _have_threads:
|
||||||
support.threading_cleanup(*thread_info)
|
support.threading_cleanup(*thread_info)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue