--- test_socket_ssl.py.orig 2007-11-22 21:22:34.859375000 +0000 +++ test_socket_ssl.py 2007-11-22 21:24:22.109375000 +0000 @@ -181,8 +181,12 @@ s = socket.socket() s.connect(("localhost", 4433)) s.close() - if self.s.stdout.readline() != "ERROR\n": - raise ValueError + if sys.platform != "win32": + # Skip this check on Win32, as one implementation + # (GnuWin32) of openssl.exe buffers its output in a way + # which causes a deadlock here + if self.s.stdout.readline() != "ERROR\n": + raise ValueError except: self.haveServer = False else: