mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
gh-96559: Fixes Windows launcher handling of defaults using old-style tags, and adds What's New section (GH-96595)
(cherry picked from commit 80a9bd2e94
)
Co-authored-by: Steve Dower <steve.dower@python.org>
This commit is contained in:
parent
a5a9d0517b
commit
08d8058b79
4 changed files with 51 additions and 22 deletions
|
@ -559,6 +559,13 @@ class TestLauncher(unittest.TestCase, RunPyMixin):
|
|||
self.assertEqual("3.100", data["SearchInfo.tag"])
|
||||
self.assertEqual(f'X.Y.exe -prearg "{script}" -postarg', data["stdout"].strip())
|
||||
|
||||
def test_py_handle_64_in_ini(self):
|
||||
with self.py_ini("\n".join(["[defaults]", "python=3.999-64"])):
|
||||
# Expect this to fail, but should get oldStyleTag flipped on
|
||||
data = self.run_py([], allow_fail=True, expect_returncode=103)
|
||||
self.assertEqual("3.999-64", data["SearchInfo.tag"])
|
||||
self.assertEqual("True", data["SearchInfo.oldStyleTag"])
|
||||
|
||||
def test_search_path(self):
|
||||
stem = Path(sys.executable).stem
|
||||
with self.py_ini(TEST_PY_COMMANDS):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue