From 10ac77d2d886c0921b21253b768fca8bc9b3c0dd Mon Sep 17 00:00:00 2001 From: Nick Coghlan Date: Thu, 19 Apr 2012 22:19:36 +1000 Subject: Close #14032: fix incorrect variable reference in test_cmd_line_script --- Lib/test/test_cmd_line_script.py | 2 +- Misc/ACKS | 1 + Misc/NEWS | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Lib/test/test_cmd_line_script.py b/Lib/test/test_cmd_line_script.py index 921c5f3..4d51ab6 100644 --- a/Lib/test/test_cmd_line_script.py +++ b/Lib/test/test_cmd_line_script.py @@ -242,7 +242,7 @@ class CmdLineTest(unittest.TestCase): 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 index 625689d..6eedfc3 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -1026,6 +1026,7 @@ Robert Xiao Florent Xicluna Hirokazu Yamamoto Ka-Ping Yee +Jason Yeo Bob Yodlowski Danny Yoo George Yoshida diff --git a/Misc/NEWS b/Misc/NEWS index 44cb4a1..b012d28 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -152,6 +152,9 @@ Extension Modules 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. -- cgit v0.12