projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2ec361
)
Fix tests if Python compiled without SSL (#5367)
author
Andrew Svetlov
<andrew.svetlov@gmail.com>
Sat, 27 Jan 2018 22:00:37 +0000
(
00:00
+0200)
committer
GitHub
<noreply@github.com>
Sat, 27 Jan 2018 22:00:37 +0000
(
00:00
+0200)
Lib/test/test_asyncio/test_events.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_asyncio/test_events.py
b/Lib/test/test_asyncio/test_events.py
index b66d91d415e8360704946fc1a9b16736d5c90ad4..f54802cf8af21a2141083a426a686db8e2d7010e 100644
(file)
--- a/
Lib/test/test_asyncio/test_events.py
+++ b/
Lib/test/test_asyncio/test_events.py
@@
-2134,6
+2134,8
@@
class SendfileMixin:
port = support.find_unused_port()
srv_proto = MySendfileProto(loop=self.loop, close_after=close_after)
if is_ssl:
+ if not ssl:
+ self.skipTest("No ssl module")
srv_ctx = test_utils.simple_server_sslcontext()
cli_ctx = test_utils.simple_client_sslcontext()
else: