diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-cryptography/skip-leaky-test.patch')
-rw-r--r-- | meta/recipes-devtools/python/python3-cryptography/skip-leaky-test.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-cryptography/skip-leaky-test.patch b/meta/recipes-devtools/python/python3-cryptography/skip-leaky-test.patch new file mode 100644 index 0000000000..64248d57bd --- /dev/null +++ b/meta/recipes-devtools/python/python3-cryptography/skip-leaky-test.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | Mark as test as expected-failure, OpenSSL is leaking memory. | ||
2 | |||
3 | xfail not skip so we can remove this when OpenSSL doesn't leak anymore. | ||
4 | |||
5 | Upstream-Status: Inappropriate | ||
6 | Signed-off-by: Ross Burton <ross.burton@arm.com> | ||
7 | |||
8 | diff --git a/tests/hazmat/backends/test_openssl_memleak.py b/tests/hazmat/backends/test_openssl_memleak.py | ||
9 | index 835c9256..639f6ba2 100644 | ||
10 | --- a/tests/hazmat/backends/test_openssl_memleak.py | ||
11 | +++ b/tests/hazmat/backends/test_openssl_memleak.py | ||
12 | @@ -466,6 +466,7 @@ class TestOpenSSLMemoryLeaks: | ||
13 | ) | ||
14 | ) | ||
15 | |||
16 | + @pytest.mark.xfail(reason="has memory leaks") | ||
17 | def test_create_certificate_with_extensions(self): | ||
18 | assert_no_memory_leaks( | ||
19 | textwrap.dedent( | ||