commit | 98b644ff3f8e25b965ff560ea2fb61c23e00941a | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Fri Nov 19 20:07:52 2010 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Fri Nov 19 20:07:52 2010 +0000 |
tree | ce7db1caaa11a0517db777485db5c33be10411cd | |
parent | 93a6b13f966aeeaef7d41396a370ae4125fbd753 [diff] [blame] |
Fix test_ssl_presence when ssl is not present
diff --git a/Lib/test/test_xmlrpc.py b/Lib/test/test_xmlrpc.py index 84e369b..6fe8224 100644 --- a/Lib/test/test_xmlrpc.py +++ b/Lib/test/test_xmlrpc.py
@@ -152,8 +152,8 @@ def test_ssl_presence(self): try: import ssl - except: - have_ssl = False + except ImportError: + has_ssl = False else: has_ssl = True try: