Commit eba63c42 authored by Antoine Pitrou's avatar Antoine Pitrou

Issue #13895: fix test_ssl hanging under Ubuntu

parent 6b671b25
......@@ -1078,7 +1078,7 @@ else:
chatty=chatty,
connectionchatty=False)
with server:
s = client_context.wrap_socket(socket.socket())
with client_context.wrap_socket(socket.socket()) as s:
s.connect((HOST, server.port))
for arg in [indata, bytearray(indata), memoryview(indata)]:
if connectionchatty:
......
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