Browse Source

Make asyncio tests run when there's no SSL module (#5196)

pull/5199/head
Yury Selivanov 8 years ago
committed by GitHub
parent
commit
21102f0dc2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      Lib/test/test_asyncio/functional.py

3
Lib/test/test_asyncio/functional.py

@ -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…
Cancel
Save