diff options
author | Tim Peters <tim.peters@gmail.com> | 2003-07-01 14:49:32 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2003-07-01 14:49:32 (GMT) |
commit | 37ca8c12dc0fb34736749d1224e1e013f4afd5b4 (patch) | |
tree | 5285bd0f04de89a2928b68e6b3813408c051070d /Lib/test/test_socket_ssl.py | |
parent | 93ceaea01f83e7479f974a928adc32fb46a233ec (diff) | |
download | cpython-37ca8c12dc0fb34736749d1224e1e013f4afd5b4.zip cpython-37ca8c12dc0fb34736749d1224e1e013f4afd5b4.tar.gz cpython-37ca8c12dc0fb34736749d1224e1e013f4afd5b4.tar.bz2 |
connector(): You can't use an empty string as an argument to connect()
on Windows.
Diffstat (limited to 'Lib/test/test_socket_ssl.py')
-rw-r--r-- | Lib/test/test_socket_ssl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_socket_ssl.py b/Lib/test/test_socket_ssl.py index 544cdd9..bcdb705 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: |