python313/subprocess-raise-timeout.patch

19 lines
775 B
Diff

---
Lib/test/test_subprocess.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: Python-3.13.0a1/Lib/test/test_subprocess.py
===================================================================
--- Python-3.13.0a1.orig/Lib/test/test_subprocess.py
+++ Python-3.13.0a1/Lib/test/test_subprocess.py
@@ -281,7 +281,8 @@ class ProcessTestCase(BaseTestCase):
"time.sleep(3600)"],
# 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)
self.fail("Expected TimeoutExpired.")
self.assertEqual(c.exception.output, b'BDFL')