summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2022-05-25 21:59:33 (GMT)
committerGitHub <noreply@github.com>2022-05-25 21:59:33 (GMT)
commitca58e4a2c596d1b4cdcae9ec92844d3d3272c4ce (patch)
tree05ad5d5483736ff8db57d55c36b705d35e12e73c
parentbf58cd01b313837511d9399f18588ccd2e5dc5a9 (diff)
downloadcpython-ca58e4a2c596d1b4cdcae9ec92844d3d3272c4ce.zip
cpython-ca58e4a2c596d1b4cdcae9ec92844d3d3272c4ce.tar.gz
cpython-ca58e4a2c596d1b4cdcae9ec92844d3d3272c4ce.tar.bz2
gh-93005: Fix py.exe launcher test to search for intended tag (GH-93190)
-rw-r--r--Lib/test/test_launcher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_launcher.py b/Lib/test/test_launcher.py
index 8d9de68..e9f6fcb 100644
--- a/Lib/test/test_launcher.py
+++ b/Lib/test/test_launcher.py
@@ -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")