From 37ca8c12dc0fb34736749d1224e1e013f4afd5b4 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Tue, 1 Jul 2003 14:49:32 +0000 Subject: [PATCH] connector(): You can't use an empty string as an argument to connect() on Windows. --- Lib/test/test_socket_ssl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_socket_ssl.py b/Lib/test/test_socket_ssl.py index 544cdd90f1f..bcdb705b617 100644 --- a/Lib/test/test_socket_ssl.py +++ b/Lib/test/test_socket_ssl.py @@ -45,7 +45,7 @@ def test_rude_shutdown(): def connector(): s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) - s.connect(('', PORT)) + s.connect(('localhost', PORT)) try: ssl_sock = socket.ssl(s) except socket.sslerror: