[Python-checkins] cpython (3.2): Close #14032: fix incorrect variable reference in test_cmd_line_script
nick.coghlan
python-checkins at python.org
Thu Apr 19 14:23:14 CEST 2012
http://hg.python.org/cpython/rev/c4c67c2d8ffc
changeset: 76416:c4c67c2d8ffc
branch: 3.2
parent: 76414:ba4baaddac8d
user: Nick Coghlan <ncoghlan at gmail.com>
date: Thu Apr 19 22:19:36 2012 +1000
summary:
Close #14032: fix incorrect variable reference in test_cmd_line_script
files:
Lib/test/test_cmd_line_script.py | 2 +-
Misc/ACKS | 1 +
Misc/NEWS | 3 +++
3 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_cmd_line_script.py b/Lib/test/test_cmd_line_script.py
--- a/Lib/test/test_cmd_line_script.py
+++ b/Lib/test/test_cmd_line_script.py
@@ -242,7 +242,7 @@
script_name = _make_test_script(pkg_dir, 'script')
rc, out, err = assert_python_ok('-m', 'test_pkg.script')
if verbose > 1:
- print(data)
+ print(out)
expected = "init_argv0==%r" % '-m'
self.assertIn(expected.encode('utf-8'), out)
self._check_output(script_name, rc, out,
diff --git a/Misc/ACKS b/Misc/ACKS
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1026,6 +1026,7 @@
Florent Xicluna
Hirokazu Yamamoto
Ka-Ping Yee
+Jason Yeo
Bob Yodlowski
Danny Yoo
George Yoshida
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -152,6 +152,9 @@
Tests
-----
+- Issue #14032: Fix incorrect variable name in test_cmd_line_script debugging
+ message (Patch by Jason Yeo)
+
- Issue #14589: Update certificate chain for sha256.tbs-internet.com, fixing
a test failure in test_ssl.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list