mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-98414: py.exe launcher does not use defaults for -V:company/ option (GH-98460)
This commit is contained in:
parent
9c8dde0fa5
commit
4bd63f66cd
3 changed files with 11 additions and 0 deletions
|
@ -369,6 +369,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"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue