Kaydet (Commit) 0bfc8969 authored tarafından Jeffrey Yasskin's avatar Jeffrey Yasskin

Block the "socket.ssl() is deprecated" warning from test_socket_ssl.

üst 504153d5
...@@ -10,6 +10,12 @@ import subprocess ...@@ -10,6 +10,12 @@ import subprocess
import time import time
import os import os
import urllib 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 # Optionally test SSL support, if we have it in the tested platform
skip_expected = not hasattr(socket, "ssl") skip_expected = not hasattr(socket, "ssl")
......
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