[Jython-checkins] jython: Add skip for Java 7 to failing test in test_ssl (see bjo #2770)
jeff.allen
jython-checkins at python.org
Sun May 12 08:54:21 EDT 2019
https://hg.python.org/jython/rev/0a29630db359
changeset: 8246:0a29630db359
user: Jeff Allen <ja.py at farowl.co.uk>
date: Sun May 12 09:22:13 2019 +0100
summary:
Add skip for Java 7 to failing test in test_ssl (see bjo #2770)
As observed on Java 7, test_ssl.ContextTests.test_load_cert_chain fails with
"PBKDF-OpenSSL SecretKeyFactory not available".
files:
Lib/test/test_ssl.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -782,6 +782,8 @@
with self.assertRaises(TypeError):
ctx.verify_flags = None
+ @unittest.skipIf(support.is_jython and support.get_java_version() < (8,),
+ "Fails on Java 7. See bjo #2770")
def test_load_cert_chain(self):
ctx = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
# Combined key and cert in a single file
--
Repository URL: https://hg.python.org/jython
More information about the Jython-checkins
mailing list