You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by al...@apache.org on 2022/05/28 02:19:04 UTC

[beam] branch master updated: minor: don't capture stderr in kata tests

This is an automated email from the ASF dual-hosted git repository.

altay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 54b6b461462 minor: don't capture stderr in kata tests
     new db4d2cb31bb Merge pull request #17639 from iasoon/kata-no-stderr
54b6b461462 is described below

commit 54b6b461462e07f423e68223e3014c0f3ce3db37
Author: Ilion Beyst <il...@gmail.com>
AuthorDate: Thu May 12 17:45:36 2022 +0200

    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 fe547429541..3864a2eb454 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))