gh-95359: Fix py.exe launcher handling of per-user py.ini and command names (GH-95399)

This commit is contained in:
Steve Dower 2022-07-28 21:11:17 +01:00 committed by GitHub
parent a1daf6e5cc
commit 38bb2068fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 8 deletions

View file

@ -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()]
])