summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_socket_ssl.py
diff options
context:
space:
mode:
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: