File subprocess-raise-timeout.patch of Package python312

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

Index: Python-3.12.10/Lib/test/test_subprocess.py
===================================================================
--- Python-3.12.10.orig/Lib/test/test_subprocess.py	2025-04-11 21:04:45.154639562 +0200
+++ Python-3.12.10/Lib/test/test_subprocess.py	2025-04-11 21:12:03.374471647 +0200
@@ -274,7 +274,11 @@
             output = subprocess.check_output(
                     [sys.executable, "-c",
                      "import time; time.sleep(3600)"],
-                    timeout=0.1)
+                     # Some heavily loaded buildbots (sparc Debian 3.x) require
+                     # this much time to start and print.
+                     # timeout=0.1)
+                     # OBS might require even more
+                     timeout=10)
 
     def test_call_kwargs(self):
         # call() function with keyword args
openSUSE Build Service is sponsored by