]> granicus.if.org Git - python/commitdiff
Enable some test_cmd_line_script debugging output to investigate failure on Mac OSX...
authorNick Coghlan <ncoghlan@gmail.com>
Mon, 19 Nov 2007 13:56:27 +0000 (13:56 +0000)
committerNick Coghlan <ncoghlan@gmail.com>
Mon, 19 Nov 2007 13:56:27 +0000 (13:56 +0000)
Lib/test/test_cmd_line_script.py

index eac63855e7f85928c9f6c84dce8e346ab9a45a86..ffd6fe75d00a925b7509b397b875de9694be80fa 100644 (file)
@@ -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