[Python-checkins] cpython (2.7): Skip test_algorithms (known remote hosts need SNI, which is only available on
antoine.pitrou
python-checkins at python.org
Fri May 4 16:35:21 CEST 2012
http://hg.python.org/cpython/rev/8215aaccc9dd
changeset: 76751:8215aaccc9dd
branch: 2.7
parent: 76739:b2031eb95dd9
user: Antoine Pitrou <solipsis at pitrou.net>
date: Fri May 04 16:33:30 2012 +0200
summary:
Skip test_algorithms (known remote hosts need SNI, which is only available on 3.2+)
files:
Lib/test/test_ssl.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -355,7 +355,8 @@
# SHA256 was added in OpenSSL 0.9.8
if ssl.OPENSSL_VERSION_INFO < (0, 9, 8, 0, 15):
self.skipTest("SHA256 not available on %r" % ssl.OPENSSL_VERSION)
- # NOTE: https://sha256.tbs-internet.com is another possible test host
+ self.skipTest("remote host needs SNI, only available on Python 3.2+")
+ # NOTE: https://sha2.hboeck.de is another possible test host
remote = ("sha256.tbs-internet.com", 443)
sha256_cert = os.path.join(os.path.dirname(__file__), "sha256.pem")
with test_support.transient_internet("sha256.tbs-internet.com"):
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list