mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Close #14032: fix incorrect variable reference in test_cmd_line_script
This commit is contained in:
parent
0780b6bc58
commit
10ac77d2d8
3 changed files with 5 additions and 1 deletions
|
@ -242,7 +242,7 @@ class CmdLineTest(unittest.TestCase):
|
||||||
script_name = _make_test_script(pkg_dir, 'script')
|
script_name = _make_test_script(pkg_dir, 'script')
|
||||||
rc, out, err = assert_python_ok('-m', 'test_pkg.script')
|
rc, out, err = assert_python_ok('-m', 'test_pkg.script')
|
||||||
if verbose > 1:
|
if verbose > 1:
|
||||||
print(data)
|
print(out)
|
||||||
expected = "init_argv0==%r" % '-m'
|
expected = "init_argv0==%r" % '-m'
|
||||||
self.assertIn(expected.encode('utf-8'), out)
|
self.assertIn(expected.encode('utf-8'), out)
|
||||||
self._check_output(script_name, rc, out,
|
self._check_output(script_name, rc, out,
|
||||||
|
|
|
@ -1026,6 +1026,7 @@ Robert Xiao
|
||||||
Florent Xicluna
|
Florent Xicluna
|
||||||
Hirokazu Yamamoto
|
Hirokazu Yamamoto
|
||||||
Ka-Ping Yee
|
Ka-Ping Yee
|
||||||
|
Jason Yeo
|
||||||
Bob Yodlowski
|
Bob Yodlowski
|
||||||
Danny Yoo
|
Danny Yoo
|
||||||
George Yoshida
|
George Yoshida
|
||||||
|
|
|
@ -152,6 +152,9 @@ Extension Modules
|
||||||
Tests
|
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
|
- Issue #14589: Update certificate chain for sha256.tbs-internet.com, fixing
|
||||||
a test failure in test_ssl.
|
a test failure in test_ssl.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue