summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2007-11-19 13:56:27 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2007-11-19 13:56:27 (GMT)
commit8f6793b5409872dde15da00dca656dd2b63c9a05 (patch)
treeff0a850a34aa8e5b3c2ac7ec37949fa900f17493 /Lib
parent183744d6b9d45e77c3bd2dc30a6eb41c9f1c58f1 (diff)
downloadcpython-8f6793b5409872dde15da00dca656dd2b63c9a05.zip
cpython-8f6793b5409872dde15da00dca656dd2b63c9a05.tar.gz
cpython-8f6793b5409872dde15da00dca656dd2b63c9a05.tar.bz2
Enable some test_cmd_line_script debugging output to investigate failure on Mac OSX buildbot
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_cmd_line_script.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_cmd_line_script.py b/Lib/test/test_cmd_line_script.py
index eac6385..ffd6fe7 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