Make asyncio tests run when there's no SSL module (#5196)
This commit is contained in:
parent
cb064fc232
commit
21102f0dc2
|
@ -5,7 +5,6 @@ import os
|
|||
import pprint
|
||||
import select
|
||||
import socket
|
||||
import ssl
|
||||
import tempfile
|
||||
import threading
|
||||
|
||||
|
@ -146,8 +145,6 @@ class TestSocketWrapper:
|
|||
server_side=False,
|
||||
server_hostname=None):
|
||||
|
||||
assert isinstance(ssl_context, ssl.SSLContext)
|
||||
|
||||
ssl_sock = ssl_context.wrap_socket(
|
||||
self.__sock, server_side=server_side,
|
||||
server_hostname=server_hostname,
|
||||
|
|
Loading…
Reference in New Issue