diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2017-11-18 18:54:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-18 18:54:05 +0200 |
commit | 51d546ae4d563fde608e23c9c337fefd7e95c93f (patch) | |
tree | d2bd875c8f22d60a2fc5a5c522bf17a424b97757 /Lib/asyncio/test_utils.py | |
parent | f02f5e5c3eb815fff9578dc58de60374c6baaa3d (diff) | |
download | cpython-git-51d546ae4d563fde608e23c9c337fefd7e95c93f.tar.gz |
bpo-32069: Drop legacy SSL transport (#4451)
* Drop legacy SSL transport
* Drop unused import
* Fix Windows tests
* Drop never executed on Python 3.4+ code
Diffstat (limited to 'Lib/asyncio/test_utils.py')
-rw-r--r-- | Lib/asyncio/test_utils.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Lib/asyncio/test_utils.py b/Lib/asyncio/test_utils.py index c9b19825f2..c3ddfe3756 100644 --- a/Lib/asyncio/test_utils.py +++ b/Lib/asyncio/test_utils.py @@ -508,8 +508,3 @@ def mock_nonblocking_socket(proto=socket.IPPROTO_TCP, type=socket.SOCK_STREAM, sock.family = family sock.gettimeout.return_value = 0.0 return sock - - -def force_legacy_ssl_support(): - return mock.patch('asyncio.sslproto._is_sslproto_available', - return_value=False) |