forked from pool/python315
Add skip-test_thread_time.patch
Skip test.test_time.TimeTestCase.test_thread_time on s390x (gh#python/cpython#143528).
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 7 17:12:05 UTC 2026 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Add skip-test_thread_time.patch to skip
|
||||
test.test_time.TimeTestCase.test_thread_time on s390x
|
||||
(gh#python/cpython#143528).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 5 17:23:03 UTC 2026 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
|
||||
@@ -224,6 +224,9 @@ Patch40: fix-test-recursion-limit-15.6.patch
|
||||
Patch41: bsc1243155-sphinx-non-determinism.patch
|
||||
# PATCH-FIX-OPENSUSE gh139257-Support-docutils-0.22.patch gh#python/cpython#139257 daniel.garcia@suse.com
|
||||
Patch42: gh139257-Support-docutils-0.22.patch
|
||||
# PATCH-FIX-UPSTREAM skip-test_thread_time.patch gh#python/cpython#143528 mcepl@suse.com
|
||||
# skip test.test_time.TimeTestCase.test_thread_time on s390x
|
||||
Patch43: skip-test_thread_time.patch
|
||||
#### Python 3.15 DEVELOPMENT PATCHES
|
||||
BuildRequires: autoconf-archive
|
||||
BuildRequires: automake
|
||||
|
||||
16
skip-test_thread_time.patch
Normal file
16
skip-test_thread_time.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
Lib/test/test_time.py | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
Index: Python-3.15.0a3/Lib/test/test_time.py
|
||||
===================================================================
|
||||
--- Python-3.15.0a3.orig/Lib/test/test_time.py 2026-01-06 16:57:59.278632516 +0100
|
||||
+++ Python-3.15.0a3/Lib/test/test_time.py 2026-01-07 18:10:25.621075073 +0100
|
||||
@@ -570,6 +570,7 @@
|
||||
self.assertTrue(info.monotonic)
|
||||
self.assertFalse(info.adjustable)
|
||||
|
||||
+ @unittest.skipIf(platform.processor() == 's390x', "Fails on s390x, gh#python/cpython#143528")
|
||||
def test_thread_time(self):
|
||||
if not hasattr(time, 'thread_time'):
|
||||
if sys.platform.startswith(('linux', 'android', 'win')):
|
||||
Reference in New Issue
Block a user