diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-04-22 17:44:41 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-04-22 17:44:41 (GMT) |
commit | 60b1ee375c56b92f0e8cb02370f66fb5f5b7e322 (patch) | |
tree | 1b9dfdc594711ee03d07c2677c7c41d7fae61f37 /Lib/test/test_ssl.py | |
parent | 398246169cfcfeaaab60fc047edbdbcf668ca24b (diff) | |
download | cpython-60b1ee375c56b92f0e8cb02370f66fb5f5b7e322.zip cpython-60b1ee375c56b92f0e8cb02370f66fb5f5b7e322.tar.gz cpython-60b1ee375c56b92f0e8cb02370f66fb5f5b7e322.tar.bz2 |
Temporarily display OpenSSL version in verbose run -- trying to diagnose failure on Neal's buildbot.
Diffstat (limited to 'Lib/test/test_ssl.py')
-rw-r--r-- | Lib/test/test_ssl.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index bab1452..28a4cf8 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -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) |