Skip to content

Commit 21102f0

Browse files
authored
Make asyncio tests run when there's no SSL module (#5196)
1 parent cb064fc commit 21102f0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Lib/test/test_asyncio/functional.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import pprint
66
import select
77
import socket
8-
import ssl
98
import tempfile
109
import threading
1110

@@ -146,8 +145,6 @@ def start_tls(self, ssl_context, *,
146145
server_side=False,
147146
server_hostname=None):
148147

149-
assert isinstance(ssl_context, ssl.SSLContext)
150-
151148
ssl_sock = ssl_context.wrap_socket(
152149
self.__sock, server_side=server_side,
153150
server_hostname=server_hostname,

0 commit comments

Comments
 (0)