]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo of exception name.
authorBrett Cannon <bcannon@gmail.com>
Tue, 20 Jun 2006 19:20:17 +0000 (19:20 +0000)
committerBrett Cannon <bcannon@gmail.com>
Tue, 20 Jun 2006 19:20:17 +0000 (19:20 +0000)
Lib/test/test_socket_ssl.py

index fb840561b1273fd798264fcbfbf5204e19cbc7df..fc9d09fe4b9d410c5e40902b909918da6796bd5f 100644 (file)
@@ -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")