summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-cryptography/skip-leaky-test.patch
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2022-04-08 14:38:21 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-10 08:31:17 +0100
commit8b4a654641761298db1f47a8203fe12604382d13 (patch)
tree5966d61269e02cd9f3ccc5701738ff4dfb8f5105 /meta/recipes-devtools/python/python3-cryptography/skip-leaky-test.patch
parent21f0318abc5c0405d134ac4bbb8ed9b9294fc17d (diff)
downloadpoky-8b4a654641761298db1f47a8203fe12604382d13.tar.gz
python3-cryptography: backport fix for leaky test
The leaking test case has been fixed upstream, so backport the patch. (From OE-Core rev: 4705b8a724fe288a20f1a080e2796ea90f46c9fb) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.patch19
1 files changed, 0 insertions, 19 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
deleted file mode 100644
index 64248d57bd..0000000000
--- a/meta/recipes-devtools/python/python3-cryptography/skip-leaky-test.patch
+++ /dev/null
@@ -1,19 +0,0 @@
1Mark as test as expected-failure, OpenSSL is leaking memory.
2
3xfail not skip so we can remove this when OpenSSL doesn't leak anymore.
4
5Upstream-Status: Inappropriate
6Signed-off-by: Ross Burton <ross.burton@arm.com>
7
8diff --git a/tests/hazmat/backends/test_openssl_memleak.py b/tests/hazmat/backends/test_openssl_memleak.py
9index 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(