Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 397385 | Differences between
and this patch

Collapse All | Expand All

(-)python2/httplib2test.py1 (+2 lines)
Lines 25-30 Link Here
25
import time
25
import time
26
import unittest
26
import unittest
27
import urlparse
27
import urlparse
28
import platform
28
try:
29
try:
29
    import ssl
30
    import ssl
Lines 469-474 Link Here
469
        self.assertEqual(200, response.status)
469
        self.assertEqual(200, response.status)
470
        self.assertNotEqual(None, response.previous)
470
        self.assertNotEqual(None, response.previous)
471
471
472
    @unittest.skipIf(hasattr(platform, "python_implementation") and platform.python_implementation() == "PyPy", "Test does not work with PyPy")
472
    def testSslCertValidation(self):
473
    def testSslCertValidation(self):
473
        if sys.version_info >= (2, 6):
474
        if sys.version_info >= (2, 6):
474
            # Test that we get an ssl.SSLError when specifying a non-existent CA
475
            # Test that we get an ssl.SSLError when specifying a non-existent CA

Return to bug 397385