mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
Enable some test_cmd_line_script debugging output to investigate failure on Mac OSX buildbot
This commit is contained in:
parent
183744d6b9
commit
8f6793b540
1 changed files with 3 additions and 3 deletions
|
@ -90,9 +90,9 @@ def _make_test_zip(zip_dir, zip_basename, script_name):
|
||||||
class CmdLineTest(unittest.TestCase):
|
class CmdLineTest(unittest.TestCase):
|
||||||
def _check_script(self, script_name, expected_file, expected_argv0):
|
def _check_script(self, script_name, expected_file, expected_argv0):
|
||||||
exit_code, data = _run_python(script_name)
|
exit_code, data = _run_python(script_name)
|
||||||
# if verbose:
|
if verbose:
|
||||||
# print "Output from test script %r:" % script_name
|
print "Output from test script %r:" % script_name
|
||||||
# print data
|
print data
|
||||||
self.assertEqual(exit_code, 0)
|
self.assertEqual(exit_code, 0)
|
||||||
printed_file = '__file__==%r' % expected_file
|
printed_file = '__file__==%r' % expected_file
|
||||||
printed_argv0 = 'sys.argv[0]==%r' % expected_argv0
|
printed_argv0 = 'sys.argv[0]==%r' % expected_argv0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue