diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-10-19 22:41:28 (GMT) |
---|---|---|
committer | Pablo Galindo <pablogsal@gmail.com> | 2022-10-22 19:15:49 (GMT) |
commit | fc127628d581d8b64c602cd16573a84ff06f035d (patch) | |
tree | 66e32e58ba2f8a59c4ef9c5923e078a025bf2785 /Lib/test/test_launcher.py | |
parent | 585c95df95780c3a66db8b458713b172d7874b64 (diff) | |
download | cpython-fc127628d581d8b64c602cd16573a84ff06f035d.zip cpython-fc127628d581d8b64c602cd16573a84ff06f035d.tar.gz cpython-fc127628d581d8b64c602cd16573a84ff06f035d.tar.bz2 |
gh-98414: py.exe launcher does not use defaults for -V:company/ option (GH-98460)
(cherry picked from commit 4bd63f66cd4f6e8d549f88ae0f4b0106d522b6bb)
Co-authored-by: Steve Dower <steve.dower@python.org>
Diffstat (limited to 'Lib/test/test_launcher.py')
-rw-r--r-- | Lib/test/test_launcher.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Lib/test/test_launcher.py b/Lib/test/test_launcher.py index 97686e6..ba6856b 100644 --- a/Lib/test/test_launcher.py +++ b/Lib/test/test_launcher.py @@ -370,6 +370,13 @@ class TestLauncher(unittest.TestCase, RunPyMixin): self.assertEqual(company, data["env.company"]) self.assertEqual("3.100", data["env.tag"]) + def test_filter_to_company_with_default(self): + company = "PythonTestSuite" + data = self.run_py([f"-V:{company}/"], env=dict(PY_PYTHON="3.0")) + self.assertEqual("X.Y.exe", data["LaunchCommand"]) + self.assertEqual(company, data["env.company"]) + self.assertEqual("3.100", data["env.tag"]) + def test_filter_to_tag(self): company = "PythonTestSuite" data = self.run_py([f"-V:3.100"]) |