]> granicus.if.org Git - python/commitdiff
Fix test_ssl on Ubuntu buildbot with patched OpenSSL
authorAntoine Pitrou <solipsis@pitrou.net>
Fri, 22 Oct 2010 18:24:20 +0000 (18:24 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Fri, 22 Oct 2010 18:24:20 +0000 (18:24 +0000)
Lib/test/test_ssl.py

index 67bc01aba4cae0720707720741deb7532f973f52..b11723c5381d6e94ac66730394539b2efe78c366 100644 (file)
@@ -391,6 +391,7 @@ class ContextTests(unittest.TestCase):
         ctx.load_verify_locations(CERTFILE, CAPATH)
         ctx.load_verify_locations(CERTFILE, capath=BYTES_CAPATH)
 
+    @skip_if_broken_ubuntu_ssl
     def test_session_stats(self):
         for proto in PROTOCOLS:
             ctx = ssl.SSLContext(proto)