Skip to content

Commit

Permalink
pythongh-93005: Fix py.exe launcher test to search for intended tag (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
zooba committed May 25, 2022
1 parent bf58cd0 commit ca58e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit ca58e4a

Please sign in to comment.