]> granicus.if.org Git - python/commitdiff
Skip test_algorithms (known remote hosts need SNI, which is only available on 3.2+)
authorAntoine Pitrou <solipsis@pitrou.net>
Fri, 4 May 2012 14:33:30 +0000 (16:33 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Fri, 4 May 2012 14:33:30 +0000 (16:33 +0200)
Lib/test/test_ssl.py

index 97552e8fdd6e94f6dbca4b26b497a9c91561134a..e643f7493a17ee5b72ba216a1283c99e7dd3fb9e 100644 (file)
@@ -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"):