Kaydet (Commit) ce816a51 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Issue #13895: fix test_ssl hanging under Ubuntu

......@@ -1198,7 +1198,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