summaryrefslogtreecommitdiff
path: root/poky/meta/recipes-devtools/python/python3-cryptography/skip-leaky-test.patch
blob: 64248d57bd98bfe419e72d3f549e275a1cf2132f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Mark as test as expected-failure, OpenSSL is leaking memory.

xfail not skip so we can remove this when OpenSSL doesn't leak anymore.

Upstream-Status: Inappropriate
Signed-off-by: Ross Burton <ross.burton@arm.com>

diff --git a/tests/hazmat/backends/test_openssl_memleak.py b/tests/hazmat/backends/test_openssl_memleak.py
index 835c9256..639f6ba2 100644
--- a/tests/hazmat/backends/test_openssl_memleak.py
+++ b/tests/hazmat/backends/test_openssl_memleak.py
@@ -466,6 +466,7 @@ class TestOpenSSLMemoryLeaks:
             )
         )
 
+    @pytest.mark.xfail(reason="has memory leaks")
     def test_create_certificate_with_extensions(self):
         assert_no_memory_leaks(
             textwrap.dedent(