projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93a6b13
)
Fix test_ssl_presence when ssl is not present
author
Antoine Pitrou
<solipsis@pitrou.net>
Fri, 19 Nov 2010 20:07:52 +0000
(20:07 +0000)
committer
Antoine Pitrou
<solipsis@pitrou.net>
Fri, 19 Nov 2010 20:07:52 +0000
(20:07 +0000)
Lib/test/test_xmlrpc.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_xmlrpc.py
b/Lib/test/test_xmlrpc.py
index 84e369b8d37636451dd5417069cc777e42df2e2c..6fe8224c72d3013bff5cb8d58ec7d8eb383a6f8d 100644
(file)
--- a/
Lib/test/test_xmlrpc.py
+++ b/
Lib/test/test_xmlrpc.py
@@
-152,8
+152,8
@@
class XMLRPCTestCase(unittest.TestCase):
def test_ssl_presence(self):
try:
import ssl
- except:
- ha
ve
_ssl = False
+ except
ImportError
:
+ ha
s
_ssl = False
else:
has_ssl = True
try: