forked from pool/python311
- Fix changelog
(renamed from CVE-2024-8088-zipfile-Path-sanitization.patch) - CVE-2024-6232-ReDOS-backtrack-tarfile.patch - CVE-2024-7592-quad-complex-cookies.patch * CVE-2024-0397-memrace_ssl.SSLContext_cert_store.patch - Remove upstreamed patches: - CVE-2024-0450-zipfile-avoid-quoted-overlap-zipbomb.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python311?expand=0&rev=151
This commit is contained in:
23
skip-test_pyobject_freed_is_freed.patch
Normal file
23
skip-test_pyobject_freed_is_freed.patch
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
Lib/test/test_capi/test_misc.py | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
--- a/Lib/test/test_capi/test_misc.py
|
||||
+++ b/Lib/test/test_capi/test_misc.py
|
||||
@@ -40,6 +40,8 @@ import _testinternalcapi
|
||||
# Were we compiled --with-pydebug or with #define Py_DEBUG?
|
||||
Py_DEBUG = hasattr(sys, 'gettotalrefcount')
|
||||
|
||||
+# Which version of the SLE distro we build on?
|
||||
+SLE_VERSION = int(os.environ.get('SLE_VERSION', '0'), 10)
|
||||
|
||||
NULL = None
|
||||
|
||||
@@ -1281,6 +1283,7 @@ class PyMemDebugTests(unittest.TestCase)
|
||||
def test_pyobject_forbidden_bytes_is_freed(self):
|
||||
self.check_pyobject_is_freed('check_pyobject_forbidden_bytes_is_freed')
|
||||
|
||||
+ @unittest.skipIf(0 < SLE_VERSION < 150300, 'Failing on Leap 15.*')
|
||||
def test_pyobject_freed_is_freed(self):
|
||||
self.check_pyobject_is_freed('check_pyobject_freed_is_freed')
|
||||
|
||||
Reference in New Issue
Block a user