mirror of https://github.com/python/cpython
Issue #13895: fix test_ssl hanging under Ubuntu
This commit is contained in:
parent
6b671b2591
commit
eba63c4203
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue