[Python-checkins] r59051 - python/trunk/Lib/test/test_cmd_line_script.py

nick.coghlan python-checkins at python.org
Mon Nov 19 14:56:28 CET 2007


Author: nick.coghlan
Date: Mon Nov 19 14:56:27 2007
New Revision: 59051

Modified:
   python/trunk/Lib/test/test_cmd_line_script.py
Log:
Enable some test_cmd_line_script debugging output to investigate failure on Mac OSX buildbot

Modified: python/trunk/Lib/test/test_cmd_line_script.py
==============================================================================
--- python/trunk/Lib/test/test_cmd_line_script.py	(original)
+++ python/trunk/Lib/test/test_cmd_line_script.py	Mon Nov 19 14:56:27 2007
@@ -90,9 +90,9 @@
 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


More information about the Python-checkins mailing list