Skip to content

Commit

Permalink
minor: don't capture stderr in kata tests
Browse files Browse the repository at this point in the history
  • Loading branch information
iasoon committed May 12, 2022
1 parent 4b413bb commit 54b6b46
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions learning/katas/python/test_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 54b6b46

Please sign in to comment.