Block the "socket.ssl() is deprecated" warning from test_socket_ssl.
This commit is contained in:
parent
504153d55b
commit
0bfc896979
|
@ -10,6 +10,12 @@ import subprocess
|
|||
import time
|
||||
import os
|
||||
import urllib
|
||||
import warnings
|
||||
|
||||
warnings.filterwarnings(
|
||||
'ignore',
|
||||
'socket.ssl.. is deprecated. Use ssl.wrap_socket.. instead.',
|
||||
DeprecationWarning)
|
||||
|
||||
# Optionally test SSL support, if we have it in the tested platform
|
||||
skip_expected = not hasattr(socket, "ssl")
|
||||
|
|
Loading…
Reference in New Issue