From 3c2b0ad70a6d9fd73ebcf8d7d26869a9d12d9de4 Mon Sep 17 00:00:00 2001 From: "David M. Rogers" Date: Wed, 9 Oct 2024 11:41:03 -0400 Subject: [PATCH] Fixed one github-workflow test issue. --- tests/test_ca.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/test_ca.py b/tests/test_ca.py index c237daf..d3c8187 100644 --- a/tests/test_ca.py +++ b/tests/test_ca.py @@ -8,8 +8,11 @@ def client(sock, data) -> None: print('Sending: {}'.format(data)) sock.send(data.encode()) - rep = sock.recv(128) - print('Received: {}'.format(rep)) + try: + rep = sock.recv(128) + print('Received: {}'.format(rep)) + except ConnectionResetError: + pass @ssl_ify("server") def echo_server(sock) -> None: