mirror of https://github.com/python/cpython
Temporarily display OpenSSL version in verbose run -- trying to diagnose failure on Neal's buildbot.
This commit is contained in:
parent
398246169c
commit
60b1ee375c
|
@ -241,6 +241,9 @@ class NetworkedTests(unittest.TestCase):
|
|||
s = ssl.wrap_socket(socket.socket(socket.AF_INET),
|
||||
cert_reqs=ssl.CERT_REQUIRED,
|
||||
ca_certs=sha256_cert,)
|
||||
if test_support.verbose:
|
||||
sys.stdout.write("\nOpenSSL version is %r / %r" %
|
||||
(ssl.OPENSSL_VERSION, ssl.OPENSSL_VERSION_INFO))
|
||||
with test_support.transient_internet():
|
||||
try:
|
||||
s.connect(remote)
|
||||
|
|
Loading…
Reference in New Issue