From: Tim Peters Date: Tue, 1 Jul 2003 14:49:32 +0000 (+0000) Subject: connector(): You can't use an empty string as an argument to connect() X-Git-Tag: v2.3c1~209 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=37ca8c12dc0fb34736749d1224e1e013f4afd5b4;p=python connector(): You can't use an empty string as an argument to connect() on Windows. --- diff --git a/Lib/test/test_socket_ssl.py b/Lib/test/test_socket_ssl.py index 544cdd90f1..bcdb705b61 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: