summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2022-07-28 20:11:17 (GMT)
committerGitHub <noreply@github.com>2022-07-28 20:11:17 (GMT)
commit38bb2068fe1f51a74b36c46e820abc5f6422cded (patch)
tree5dac1b48bfaaf8f843f0dd6d2a5a038f3a1c08d6 /Lib/test
parenta1daf6e5ccd78e43ba1eb6fa8d0347e939ce8243 (diff)
downloadcpython-38bb2068fe1f51a74b36c46e820abc5f6422cded.zip
cpython-38bb2068fe1f51a74b36c46e820abc5f6422cded.tar.gz
cpython-38bb2068fe1f51a74b36c46e820abc5f6422cded.tar.bz2
gh-95359: Fix py.exe launcher handling of per-user py.ini and command names (GH-95399)
Diffstat (limited to 'Lib/test')
-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 b4009a9..c8ea4f6 100644
--- a/Lib/test/test_launcher.py
+++ b/Lib/test/test_launcher.py
@@ -69,7 +69,7 @@ TEST_PY_ENV = dict(
TEST_PY_COMMANDS = "\n".join([
"[defaults]",
- *[f"{k.lower()}={v}" for k, v in TEST_PY_ENV.items()]
+ *[f"{k[3:].lower()}={v}" for k, v in TEST_PY_ENV.items()]
])