File s390-build.patch of Package python3.41795

---
 Lib/test/test_threading.py |    2 ++
 1 file changed, 2 insertions(+)

Index: Python-3.4.10/Lib/test/test_threading.py
===================================================================
--- Python-3.4.10.orig/Lib/test/test_threading.py	2019-03-18 17:51:26.000000000 +0100
+++ Python-3.4.10/Lib/test/test_threading.py	2025-12-10 19:13:54.057550223 +0100
@@ -16,6 +16,7 @@
 import weakref
 import os
 import subprocess
+import platform
 
 from test import lock_tests
 
@@ -847,6 +848,7 @@
         # The thread was joined properly.
         self.assertEqual(os.read(r, 1), b"x")
 
+    @unittest.skipIf(platform.machine() == 's390', "test doesn't work on s390")
     def test_threads_join_2(self):
         # Same as above, but a delay gets introduced after the thread's
         # Python code returned but before the thread state is deleted.
openSUSE Build Service is sponsored by