Skip to content

Commit

Permalink
Merge pull request #17639 from iasoon/kata-no-stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
aaltay authored May 28, 2022
2 parents 7c47893 + 54b6b46 commit db4d2cb
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 db4d2cb

Please sign in to comment.