Commit 66a45032 authored by Antoine Pitrou's avatar Antoine Pitrou

Closes #22784: fix test_asyncio when the ssl module isn't available

parent a8b89fed
......@@ -606,6 +606,7 @@ class EventLoopTestsMixin:
self.assertGreater(pr.nbytes, 0)
tr.close()
if ssl:
def _dummy_ssl_create_context(self, purpose=ssl.Purpose.SERVER_AUTH, *,
cafile=None, capath=None, cadata=None):
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment