diff --git a/tools/check_output_test.py b/tools/check_output_test.py index c8b01952d1..84bc315804 100755 --- a/tools/check_output_test.py +++ b/tools/check_output_test.py @@ -27,9 +27,11 @@ def check_output_test(deno_exe_filename): expected_out = f.read() cmd = [deno_exe_filename, script_abs] print " ".join(cmd) - actual_out = subprocess.check_output(cmd) + actual_out = subprocess.check_output(cmd, universal_newlines=True) if expected_out != actual_out: print "Expected output does not match actual." + print "Expected: " + expected_out + print "Actual: " + actual_out sys.exit(1)