diff options
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_socket_ssl.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_socket_ssl.py b/Lib/test/test_socket_ssl.py index cf63288118..eb9bc9ea5d 100644 --- a/Lib/test/test_socket_ssl.py +++ b/Lib/test/test_socket_ssl.py @@ -150,7 +150,8 @@ class OpenSSLServer(threading.Thread): s = socket.socket() s.connect(("localhost", 4433)) s.close() - assert self.s.stdout.readline() == "ERROR\n" + if self.s.stdout.readline() != "ERROR\n": + raise ValuError except: self.haveServer = False else: |