diff options
Diffstat (limited to 'Lib/test/test_socket_ssl.py')
-rw-r--r-- | Lib/test/test_socket_ssl.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/test_socket_ssl.py b/Lib/test/test_socket_ssl.py index c3fe67e..7003ba6 100644 --- a/Lib/test/test_socket_ssl.py +++ b/Lib/test/test_socket_ssl.py @@ -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") |