summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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")