From 2e49a3572b8b45348be81bdf01152bed82d76bae Mon Sep 17 00:00:00 2001 From: Robsdedude Date: Thu, 6 Oct 2022 12:21:56 +0200 Subject: [PATCH] TestKit backend: run python with unbuffered stdout/err Test TestKit backend gets killed forcefully (`SIGKILL`) by TestKit/docker. Therefore, buffered stdout/stderr (default Python interpreter behavior) can lead to the last bits of output missing in the log files. --- testkit/_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testkit/_common.py b/testkit/_common.py index ff285ad5d..d4f8da965 100644 --- a/testkit/_common.py +++ b/testkit/_common.py @@ -14,4 +14,4 @@ def run(args, env=None): def run_python(args, env=None): - run([TEST_BACKEND_VERSION, "-W", "error", *args], env=env) + run([TEST_BACKEND_VERSION, "-u", "-W", "error", *args], env=env)