diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-01-08 10:31:09 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-01-08 10:31:09 (GMT) |
commit | 50778ab4c25f99c8fefeb67bc927bcb3356590cd (patch) | |
tree | 32e0b7de8ab20aa2c34eddb54b24b64084aeff5c /Lib/test/test_ssl.py | |
parent | 6d6fa47fb066ea314b8e5fd8bbcfb6dfaaac66ab (diff) | |
download | cpython-50778ab4c25f99c8fefeb67bc927bcb3356590cd.zip cpython-50778ab4c25f99c8fefeb67bc927bcb3356590cd.tar.gz cpython-50778ab4c25f99c8fefeb67bc927bcb3356590cd.tar.bz2 |
Merged revisions 87861,87863 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87861 | antoine.pitrou | 2011-01-08 11:23:29 +0100 (sam., 08 janv. 2011) | 3 lines
Fix test_ssl after r87849
........
r87863 | antoine.pitrou | 2011-01-08 11:28:11 +0100 (sam., 08 janv. 2011) | 3 lines
Add EHOSTUNREACH ('No route to host') to the errnos trapped by transient_internet().
........
Diffstat (limited to 'Lib/test/test_ssl.py')
-rw-r--r-- | Lib/test/test_ssl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 38ad140..bb38890 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -228,7 +228,7 @@ class NetworkedTests(unittest.TestCase): # NOTE: https://sha256.tbs-internet.com is another possible test host remote = ("sha2.hboeck.de", 443) sha256_cert = os.path.join(os.path.dirname(__file__), "sha256.pem") - with support.transient_internet("sha2.hboeck.de"): + with support.transient_internet("sha256.tbs-internet.com"): s = ssl.wrap_socket(socket.socket(socket.AF_INET), cert_reqs=ssl.CERT_REQUIRED, ca_certs=sha256_cert,) |