From: Nick Coghlan Date: Mon, 19 Nov 2007 13:56:27 +0000 (+0000) Subject: Enable some test_cmd_line_script debugging output to investigate failure on Mac OSX... X-Git-Tag: v2.6a1~1039 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8f6793b5409872dde15da00dca656dd2b63c9a05;p=thirdparty%2FPython%2Fcpython.git Enable some test_cmd_line_script debugging output to investigate failure on Mac OSX buildbot --- diff --git a/Lib/test/test_cmd_line_script.py b/Lib/test/test_cmd_line_script.py index eac63855e7f8..ffd6fe75d00a 100644 --- a/Lib/test/test_cmd_line_script.py +++ b/Lib/test/test_cmd_line_script.py @@ -90,9 +90,9 @@ def _make_test_zip(zip_dir, zip_basename, script_name): class CmdLineTest(unittest.TestCase): def _check_script(self, script_name, expected_file, expected_argv0): exit_code, data = _run_python(script_name) - # if verbose: - # print "Output from test script %r:" % script_name - # print data + if verbose: + print "Output from test script %r:" % script_name + print data self.assertEqual(exit_code, 0) printed_file = '__file__==%r' % expected_file printed_argv0 = 'sys.argv[0]==%r' % expected_argv0