diff options
| author | Brett Cannon <bcannon@gmail.com> | 2006-06-20 19:20:17 (GMT) |
|---|---|---|
| committer | Brett Cannon <bcannon@gmail.com> | 2006-06-20 19:20:17 (GMT) |
| commit | 115ecb9211ec083494d90c88dcbca2da558d1994 (patch) | |
| tree | 9f7db7abe09eb8e007c72d90c4eef4f60c88ff77 /Lib/test/test_socket_ssl.py | |
| parent | bb93f4bb0da95a244a1633583a5ad36e6f785de3 (diff) | |
| download | cpython-115ecb9211ec083494d90c88dcbca2da558d1994.zip cpython-115ecb9211ec083494d90c88dcbca2da558d1994.tar.gz cpython-115ecb9211ec083494d90c88dcbca2da558d1994.tar.bz2 | |
Fix typo of exception name.
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 fb84056..fc9d09f 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") |
