summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ssl.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-05-04 14:33:30 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-05-04 14:33:30 (GMT)
commitc642f67c637b8a31d2e7781cb7b737b14937f711 (patch)
tree0c5b2d0638d615f540c6c161f42f81df5b7035de /Lib/test/test_ssl.py
parentd62da9d65896a75ff666deca1ee6beb6b900f698 (diff)
downloadcpython-c642f67c637b8a31d2e7781cb7b737b14937f711.zip
cpython-c642f67c637b8a31d2e7781cb7b737b14937f711.tar.gz
cpython-c642f67c637b8a31d2e7781cb7b737b14937f711.tar.bz2
Skip test_algorithms (known remote hosts need SNI, which is only available on 3.2+)
Diffstat (limited to 'Lib/test/test_ssl.py')
-rw-r--r--Lib/test/test_ssl.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
index 97552e8..e643f74 100644
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -355,7 +355,8 @@ class NetworkedTests(unittest.TestCase):
# 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"):