summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2012-04-19 12:19:36 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2012-04-19 12:19:36 (GMT)
commit10ac77d2d886c0921b21253b768fca8bc9b3c0dd (patch)
treee94e609fae530c38dcf8a39dd8b6eee0a40eb39f /Lib/test
parent0780b6bc58c107a8462760163403642e889ef735 (diff)
downloadcpython-10ac77d2d886c0921b21253b768fca8bc9b3c0dd.zip
cpython-10ac77d2d886c0921b21253b768fca8bc9b3c0dd.tar.gz
cpython-10ac77d2d886c0921b21253b768fca8bc9b3c0dd.tar.bz2
Close #14032: fix incorrect variable reference in test_cmd_line_script
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_cmd_line_script.py2
1 files changed, 1 insertions, 1 deletions
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,