Kaydet (Commit) 942d554c authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Don't fail in test_ssl when svn.python.org is unavailable

üst a71bfc46
......@@ -156,6 +156,7 @@ class BasicSocketTests(unittest.TestCase):
if not test_support.is_resource_enabled('network'):
return
remote = ("svn.python.org", 443)
with test_support.transient_internet(remote[0]):
s = ssl.wrap_socket(socket.socket(socket.AF_INET),
cert_reqs=ssl.CERT_NONE, ciphers="ALL")
s.connect(remote)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment