Skip to content

Commit 3f917f2

Browse files
committed
minor fix in standalone test output
1 parent 6901212 commit 3f917f2

File tree

1 file changed

+3
-3
lines changed
  • graalpython/com.oracle.graal.python.test/src/tests/standalone

1 file changed

+3
-3
lines changed

graalpython/com.oracle.graal.python.test/src/tests/standalone/util.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ def run_cmd(cmd, env, cwd=None, print_out=False):
5353
for line in iter(process.stdout.readline, ""):
5454
out.append(line)
5555
if print_out:
56-
print(line)
57-
if print_output:
56+
print(line, end="")
57+
if print_out:
5858
print("\n========== end of output ==========")
5959
return "".join(out), process.wait()
6060

@@ -70,8 +70,8 @@ def print_output(out, err_msg):
7070
print("============== output =============")
7171
for line in out:
7272
print(line, end="")
73-
print("", err_msg, "", sep="\n")
7473
print("\n========== end of output ==========")
74+
print("", err_msg, "", sep="\n")
7575

7676
def get_mvn_wrapper(project_dir, env):
7777
if 'win32' != sys.platform:

0 commit comments

Comments
 (0)