diff --git a/tests/cli-tests/run.py b/tests/cli-tests/run.py index 45af5124b..a2e1c1f86 100755 --- a/tests/cli-tests/run.py +++ b/tests/cli-tests/run.py @@ -535,7 +535,8 @@ class TestSuite: subprocess.run( args=[script], stdin=subprocess.DEVNULL, - capture_output=True, + stdout=subprocess.PIPE, + stderr=subprocess.PIPE, cwd=cwd, env=env, check=True,