Commit 98b644ff authored by Antoine Pitrou's avatar Antoine Pitrou

Fix test_ssl_presence when ssl is not present

parent 93a6b13f
...@@ -152,8 +152,8 @@ class XMLRPCTestCase(unittest.TestCase): ...@@ -152,8 +152,8 @@ class XMLRPCTestCase(unittest.TestCase):
def test_ssl_presence(self): def test_ssl_presence(self):
try: try:
import ssl import ssl
except: except ImportError:
have_ssl = False has_ssl = False
else: else:
has_ssl = True has_ssl = True
try: try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment