Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:Update
python-doc
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-doc
--- Lib/test/test_ssl.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- 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: @@ -1280,6 +1278,7 @@ class ContextTests(unittest.TestCase): self.assertEqual(ctx.verify_mode, ssl.CERT_NONE) self._assert_context_options(ctx) + @unittest.skip("Test fails on SLE-12") 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