mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
gh-93005: Fix py.exe launcher test to search for intended tag (GH-93190)
(cherry picked from commit ca58e4a2c5
)
Co-authored-by: Steve Dower <steve.dower@python.org>
This commit is contained in:
parent
83940c0766
commit
4d863453f8
1 changed files with 1 additions and 1 deletions
|
@ -484,7 +484,7 @@ class TestLauncher(unittest.TestCase, RunPyMixin):
|
|||
def test_virtualenv_with_env(self):
|
||||
with self.fake_venv() as (venv_exe, env):
|
||||
data1 = self.run_py([], env={**env, "PY_PYTHON": "PythonTestSuite/3"})
|
||||
data2 = self.run_py(["-3"], env={**env, "PY_PYTHON": "PythonTestSuite/3"})
|
||||
data2 = self.run_py(["-V:PythonTestSuite/3"], env={**env, "PY_PYTHON": "PythonTestSuite/3"})
|
||||
# Compare stdout, because stderr goes via ascii
|
||||
self.assertEqual(data1["stdout"].strip(), str(venv_exe))
|
||||
self.assertEqual(data1["SearchInfo.lowPriorityTag"], "True")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue