Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c8f78d commit 1787a0bCopy full SHA for 1787a0b
1 file changed
Lib/test/test_socket_ssl.py
@@ -11,8 +11,6 @@
11
12
def test_basic():
13
test_support.requires('network')
14
- if not hasattr(socket, "ssl"):
15
- raise test_support.TestSkipped("socket module has no ssl support")
16
17
import urllib
18
@@ -61,6 +59,8 @@ def connector():
61
59
connector()
62
60
63
def test_main():
+ if not hasattr(socket, "ssl"):
+ raise test_support.TestSkipped("socket module has no ssl support")
64
test_rude_shutdown()
65
test_basic()
66
0 commit comments