summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_socket_ssl.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-07-01 14:49:32 (GMT)
committerTim Peters <tim.peters@gmail.com>2003-07-01 14:49:32 (GMT)
commit37ca8c12dc0fb34736749d1224e1e013f4afd5b4 (patch)
tree5285bd0f04de89a2928b68e6b3813408c051070d /Lib/test/test_socket_ssl.py
parent93ceaea01f83e7479f974a928adc32fb46a233ec (diff)
downloadcpython-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.py2
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: