Disabled test_xmlrpc:test_404. It's causing lots of false alarms.

I also disabled a test in test_ssl which requires network access to svn.python.org. This fixes a bug Skip has reported a while ago.
This commit is contained in:
Christian Heimes 2008-01-19 16:39:27 +00:00
parent f60b6415e6
commit 6c29be54a5
3 changed files with 4 additions and 4 deletions

View file

@ -37,7 +37,8 @@ def handle_error(prefix):
class BasicTests(unittest.TestCase):
def testSSLconnect(self):
import os
if not test_support.is_resource_enabled('network'):
return
s = ssl.wrap_socket(socket.socket(socket.AF_INET),
cert_reqs=ssl.CERT_NONE)
s.connect(("svn.python.org", 443))
@ -101,7 +102,6 @@ class BasicTests(unittest.TestCase):
class NetworkTests(unittest.TestCase):
def testConnect(self):
import os
s = ssl.wrap_socket(socket.socket(socket.AF_INET),
cert_reqs=ssl.CERT_NONE)
s.connect(("svn.python.org", 443))