Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
python.17366
python-2.7.17-switch-off-failing-SSL-tests.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-2.7.17-switch-off-failing-SSL-tests.patch of Package python.17366
--- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -152,9 +152,7 @@ def skip_if_broken_ubuntu_ssl(func): try: ssl.SSLContext(ssl.PROTOCOL_SSLv2) except ssl.SSLError: - if (ssl.OPENSSL_VERSION_INFO == (0, 9, 8, 15, 15) and - platform.linux_distribution() == ('debian', 'squeeze/sid', '')): - raise unittest.SkipTest("Patched Ubuntu OpenSSL breaks behaviour") + raise unittest.SkipTest("Test fails on SLE-12") return func(*args, **kwargs) return f else: @@ -1301,6 +1299,7 @@ class ContextTests(unittest.TestCase): self.assertEqual(ctx.verify_mode, ssl.CERT_NONE) self._assert_context_options(ctx) + @skip_if_broken_ubuntu_ssl def test__https_verify_certificates(self): # Unit test to check the contect factory mapping # The factories themselves are tested above
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor