forked from pool/python310
Set link to python310.33187 via maintenance_release request
This commit is contained in:
@@ -1,14 +1,23 @@
|
||||
---
|
||||
Lib/test/test_capi.py | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
Lib/test/test_capi/test_misc.py | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
--- a/Lib/test/test_capi.py
|
||||
+++ b/Lib/test/test_capi.py
|
||||
@@ -941,6 +941,7 @@ class PyMemDebugTests(unittest.TestCase)
|
||||
--- a/Lib/test/test_capi/test_misc.py
|
||||
+++ b/Lib/test/test_capi/test_misc.py
|
||||
@@ -38,6 +38,8 @@ Py_DEBUG = hasattr(sys, 'gettotalrefcoun
|
||||
def decode_stderr(err):
|
||||
return err.decode('utf-8', 'replace').replace('\r', '')
|
||||
|
||||
+# Which version of the SLE distro we build on?
|
||||
+SLE_VERSION = int(os.environ.get('SLE_VERSION', '0'), 10)
|
||||
|
||||
def testfunction(self):
|
||||
"""some doc"""
|
||||
@@ -967,6 +969,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.skip('Failing on Leap 15.*')
|
||||
+ @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