Commit 60b1ee37 authored by Antoine Pitrou's avatar Antoine Pitrou

Temporarily display OpenSSL version in verbose run -- trying to diagnose...

Temporarily display OpenSSL version in verbose run -- trying to diagnose failure on Neal's buildbot.
parent 39824616
...@@ -241,6 +241,9 @@ class NetworkedTests(unittest.TestCase): ...@@ -241,6 +241,9 @@ class NetworkedTests(unittest.TestCase):
s = ssl.wrap_socket(socket.socket(socket.AF_INET), s = ssl.wrap_socket(socket.socket(socket.AF_INET),
cert_reqs=ssl.CERT_REQUIRED, cert_reqs=ssl.CERT_REQUIRED,
ca_certs=sha256_cert,) 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(): with test_support.transient_internet():
try: try:
s.connect(remote) s.connect(remote)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment