From 115ecb9211ec083494d90c88dcbca2da558d1994 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Tue, 20 Jun 2006 19:20:17 +0000 Subject: [PATCH] Fix typo of exception name. --- 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 fb840561b12..fc9d09fe4b9 100644 --- a/Lib/test/test_socket_ssl.py +++ b/Lib/test/test_socket_ssl.py @@ -55,7 +55,7 @@ def test_timeout(): for. If this message is seen often, test_timeout should be changed to use a more reliable address.""" % (ADDR,) return - except socket.err, exc: # In case connection is refused. + except socket.error, exc: # In case connection is refused. if (isinstance(exc.message, tuple) and exc.message[0] == errno.ECONNREFUSED): raise test_support.TestSkipped("test socket connection refused")