python-gevent/skip-tests-in-leap.patch

21 lines
933 B
Diff

Index: gevent-21.1.2/src/greentest/3.6/test_ssl.py
===================================================================
--- gevent-21.1.2.orig/src/greentest/3.6/test_ssl.py
+++ gevent-21.1.2/src/greentest/3.6/test_ssl.py
@@ -3186,6 +3186,7 @@ if _have_threads:
sock.do_handshake()
self.assertEqual(cm.exception.errno, errno.ENOTCONN)
+ @unittest.skip("skip in SLE/Leap")
def test_no_shared_ciphers(self):
server_context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
server_context.load_cert_chain(SIGNED_CERTFILE)
@@ -3671,6 +3672,7 @@ if _have_threads:
self.assertEqual(sess_stat['accept'], 4)
self.assertEqual(sess_stat['hits'], 2)
+ @unittest.skip("skip in SLE/Leap")
def test_session_handling(self):
context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
context.verify_mode = ssl.CERT_REQUIRED