[Python-checkins] r47049 - python/trunk/Lib/test/test_socket_ssl.py

brett.cannon python-checkins at python.org
Tue Jun 20 21:20:18 CEST 2006


Author: brett.cannon
Date: Tue Jun 20 21:20:17 2006
New Revision: 47049
Modified:
 python/trunk/Lib/test/test_socket_ssl.py
Log:
Fix typo of exception name.
Modified: python/trunk/Lib/test/test_socket_ssl.py
==============================================================================
--- python/trunk/Lib/test/test_socket_ssl.py	(original)
+++ python/trunk/Lib/test/test_socket_ssl.py	Tue Jun 20 21:20:17 2006
@@ -55,7 +55,7 @@
 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")


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /