Skip to content
Snippets Groups Projects
Unverified Commit ca58e4a2 authored by Steve Dower's avatar Steve Dower Committed by GitHub
Browse files

gh-93005: Fix py.exe launcher test to search for intended tag (GH-93190)

parent bf58cd01
Branches
Tags
No related merge requests found
......@@ -484,7 +484,7 @@ def test_virtualenv_in_list(self):
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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment