[Python-checkins] bpo-33053: Remove test_cmd_line_script debugging print (GH-6237)

Nick Coghlan webhook-mailer at python.org
Sun Mar 25 09:47:57 EDT 2018

commit: a9e5d0e9ef27b14e34631d415e727a07d0f63bef
branch: master
author: Nick Coghlan <ncoghlan at gmail.com>
committer: GitHub <noreply at github.com>
date: 2018-03-25T23:47:54+10:00

bpo-33053: Remove test_cmd_line_script debugging print (GH-6237)

I noticed this had slipped into the original commit when
resolving a merge conflict for the backport to 3.7.

M Lib/test/test_cmd_line_script.py

diff --git a/Lib/test/test_cmd_line_script.py b/Lib/test/test_cmd_line_script.py
index 176200855008..a9c1309ad6d3 100644
--- a/Lib/test/test_cmd_line_script.py
+++ b/Lib/test/test_cmd_line_script.py
@@ -125,8 +125,6 @@ def _check_script(self, script_exec_args, expected_file,
             script_exec_args = [script_exec_args]
         run_args = [*support.optim_args_from_interpreter_flags(),
                     *cmd_line_switches, *script_exec_args, *example_args]
-        if env_vars:
-            print(env_vars)
         rc, out, err = assert_python_ok(
             *run_args, __isolated=False, __cwd=cwd, **env_vars

More information about the Python-checkins mailing list