From 8f6793b5409872dde15da00dca656dd2b63c9a05 Mon Sep 17 00:00:00 2001 From: Nick Coghlan Date: Mon, 19 Nov 2007 13:56:27 +0000 Subject: [PATCH] Enable some test_cmd_line_script debugging output to investigate failure on Mac OSX buildbot --- Lib/test/test_cmd_line_script.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Lib/test/test_cmd_line_script.py b/Lib/test/test_cmd_line_script.py index eac63855e7f..ffd6fe75d00 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