File subprocess-raise-timeout.patch of Package python314

---
 Lib/test/test_subprocess.py |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Index: Python-3.14.0b1/Lib/test/test_subprocess.py
===================================================================
--- Python-3.14.0b1.orig/Lib/test/test_subprocess.py	2025-05-09 10:36:08.150615546 +0200
+++ Python-3.14.0b1/Lib/test/test_subprocess.py	2025-05-09 10:36:21.907614565 +0200
@@ -160,7 +160,11 @@
         # child.
         self.assertRaises(subprocess.TimeoutExpired, subprocess.call,
                           [sys.executable, "-c", "while True: pass"],
-                          timeout=0.1)
+                          # Some heavily loaded buildbots (sparc Debian 3.x) require
+                          # this much time to start and print.
+                          # timeout=3)
+                          # OBS might require even more
+                          timeout=10)
 
     def test_timeout_exception(self):
         try:
openSUSE Build Service is sponsored by