From ec7d20b3471135bef8f7dc388f44688bee603273 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Fri, 13 Jun 2025 12:23:50 +0200 Subject: [PATCH] Reapply "test_driver: support Python 3.8 for now" Re-apply commit ec27b418e after it was accidentally reverted in 5102c8b1371 (Update littlecheck, 2025-10-11), fixing a hang in e.g. sudo docker/docker_run_tests.sh docker/jammy.Dockerfile --- tests/littlecheck.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/littlecheck.py b/tests/littlecheck.py index a275c7dfd..58dd80fd6 100755 --- a/tests/littlecheck.py +++ b/tests/littlecheck.py @@ -390,8 +390,9 @@ def runproc(cmd, env=None): async def runproc_async(cmd, env=None, cwd=None): """Wrapper around subprocess.Popen to save typing""" PIPE = asyncio.subprocess.PIPE + DEVNULL = asyncio.subprocess.DEVNULL return await asyncio.create_subprocess_shell( - cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE, env=env, cwd=cwd + cmd, stdin=DEVNULL, stdout=PIPE, stderr=PIPE, env=env, cwd=cwd )