aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/pyOpenSSL/py3/patches/01-fix-tests.patch
diff options
context:
space:
mode:
authormaxim-yurchuk <maxim-yurchuk@yandex-team.com>2024-10-09 12:29:46 +0300
committermaxim-yurchuk <maxim-yurchuk@yandex-team.com>2024-10-09 13:14:22 +0300
commit9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80 (patch)
treea8fb3181d5947c0d78cf402aa56e686130179049 /contrib/python/pyOpenSSL/py3/patches/01-fix-tests.patch
parenta44b779cd359f06c3ebbef4ec98c6b38609d9d85 (diff)
downloadydb-9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80.tar.gz
publishFullContrib: true for ydb
<HIDDEN_URL> commit_hash:c82a80ac4594723cebf2c7387dec9c60217f603e
Diffstat (limited to 'contrib/python/pyOpenSSL/py3/patches/01-fix-tests.patch')
-rw-r--r--contrib/python/pyOpenSSL/py3/patches/01-fix-tests.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/python/pyOpenSSL/py3/patches/01-fix-tests.patch b/contrib/python/pyOpenSSL/py3/patches/01-fix-tests.patch
new file mode 100644
index 0000000000..ab5a02e23c
--- /dev/null
+++ b/contrib/python/pyOpenSSL/py3/patches/01-fix-tests.patch
@@ -0,0 +1,19 @@
+--- contrib/python/pyOpenSSL/py3/tests/test_ssl.py (index)
++++ contrib/python/pyOpenSSL/py3/tests/test_ssl.py (working tree)
+@@ -1279,7 +1279,7 @@ class TestContext(object):
+ reason="set_default_verify_paths appears not to work on Windows. "
+ "See LP#404343 and LP#404344.",
+ )
+- def test_set_default_verify_paths(self):
++ def _test_set_default_verify_paths(self):
+ """
+ `Context.set_default_verify_paths` causes the platform-specific CA
+ certificate locations to be used for verification purposes.
+@@ -1927,6 +1927,7 @@ class TestApplicationLayerProtoNegotiation(object):
+ assert server.get_alpn_proto_negotiated() == b"spdy/2"
+ assert client.get_alpn_proto_negotiated() == b"spdy/2"
+
++ @pytest.mark.xfail(reason='https://github.com/pyca/pyopenssl/issues/1043')
+ def test_alpn_call_failure(self):
+ """
+ SSL_CTX_set_alpn_protos does not like to be called with an empty