mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Make asyncio tests run when there's no SSL module (#5196)
This commit is contained in:
parent
cb064fc232
commit
21102f0dc2
1 changed files with 0 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue