mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
Issue #13895: fix test_ssl hanging under Ubuntu
This commit is contained in:
commit
ce816a5111
1 changed files with 25 additions and 25 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue