From 54b6b461462e07f423e68223e3014c0f3ce3db37 Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Thu, 12 May 2022 17:45:36 +0200 Subject: [PATCH] minor: don't capture stderr in kata tests --- learning/katas/python/test_helper.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/learning/katas/python/test_helper.py b/learning/katas/python/test_helper.py index fe5474295412d..3864a2eb454e4 100644 --- a/learning/katas/python/test_helper.py +++ b/learning/katas/python/test_helper.py @@ -34,8 +34,7 @@ def get_file_output(encoding="utf-8", path=sys.argv[-1], arg_string=""): """ import subprocess - proc = subprocess.Popen([sys.executable, path], stdin=subprocess.PIPE, stdout=subprocess.PIPE, - stderr=subprocess.STDOUT) + proc = subprocess.Popen([sys.executable, path], stdin=subprocess.PIPE, stdout=subprocess.PIPE) if arg_string: for arg in arg_string.split("\n"): proc.stdin.write(bytearray(str(arg) + "\n", encoding))