From 5ad65bf88dc8325d2ec6ac84dd6c3619fb199cad Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Sun, 10 Jan 2010 22:42:38 -0800 Subject: [PATCH] Commented out bogusly-failing ssl tests. --- tests/stdlib/test_ssl.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/stdlib/test_ssl.py b/tests/stdlib/test_ssl.py index b01d62b..478b77a 100644 --- a/tests/stdlib/test_ssl.py +++ b/tests/stdlib/test_ssl.py @@ -29,6 +29,14 @@ patcher.inject('test.test_ssl', ('ssl', ssl), ('threading', threading), ('urllib', urllib)) + + +# TODO svn.python.org stopped serving up the cert that these tests expect; +# presumably they've updated svn trunk but the tests in released versions will +# probably break forever. This is why you don't write tests that connect to +# external servers. +NetworkedTests.testConnect = lambda s: None +NetworkedTests.testFetchServerCert = lambda s: None # these don't pass because nonblocking ssl sockets don't report # when the socket is closed uncleanly, per the docstring on