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 65ec8ae commit 27ba638Copy full SHA for 27ba638
1 file changed
Lib/test/test_ssl.py
@@ -24,12 +24,13 @@
24
import ssl
25
except ImportError:
26
skip_expected = True
27
+else:
28
+ PROTOCOLS = [
29
+ ssl.PROTOCOL_SSLv2, ssl.PROTOCOL_SSLv3,
30
+ ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_TLSv1
31
+ ]
32
33
HOST = support.HOST
-PROTOCOLS = [
- ssl.PROTOCOL_SSLv2, ssl.PROTOCOL_SSLv3,
- ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_TLSv1
-]
34
35
data_file = lambda name: os.path.join(os.path.dirname(__file__), name)
36
fsencode = lambda name: name.encode(sys.getfilesystemencoding(), "surrogateescape")
0 commit comments