Kaydet (Commit) 7b219b4a authored tarafından Guido van Rossum's avatar Guido van Rossum

Skip instead of fail this test if the socket module has no ssl

support.
üst cb227c98
......@@ -8,6 +8,9 @@ import test_support
test_support.requires('network')
import socket
if not hasattr(socket, "ssl"):
raise test_support.TestSkipped("socket module has no ssl support")
import urllib
urllib.urlopen('https://sf.net')
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