Skip to content

Commit f1795de

Browse files
authored
TestKit backend: run python with unbuffered stdout/err (#817)
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.
1 parent 98a99cc commit f1795de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testkit/_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ def run(args, env=None):
1414

1515

1616
def run_python(args, env=None):
17-
run([TEST_BACKEND_VERSION, "-W", "error", *args], env=env)
17+
run([TEST_BACKEND_VERSION, "-u", "-W", "error", *args], env=env)

0 commit comments

Comments
 (0)