diff options
-rw-r--r-- | Lib/test/test_xmlrpc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_xmlrpc.py b/Lib/test/test_xmlrpc.py index 7236947..c864940 100644 --- a/Lib/test/test_xmlrpc.py +++ b/Lib/test/test_xmlrpc.py @@ -146,8 +146,8 @@ class XMLRPCTestCase(unittest.TestCase): def test_ssl_presence(self): try: import ssl - except: - have_ssl = False + except ImportError: + has_ssl = False else: has_ssl = True try: |