mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Merged revisions 86533 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86533 | antoine.pitrou | 2010-11-19 21:07:52 +0100 (ven., 19 nov. 2010) | 3 lines Fix test_ssl_presence when ssl is not present ........
This commit is contained in:
parent
92165e6af7
commit
c9a9417f48
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue