Skip to content
Merged
Prev Previous commit
Next Next commit
putenv()
  • Loading branch information
neonene committed Jun 15, 2022
commit 39c851c37c9d1288ded2df6233611089cbc6b63d
1 change: 1 addition & 0 deletions Programs/_testembed.c
Original file line number Diff line number Diff line change
Expand Up @@ -1570,6 +1570,7 @@ static int test_init_is_python_build(void)
// under the effect of 'home' or PYTHONHOME environment variable.
config_set_string(&config, &config.home, home);
PyMem_RawFree(home);
putenv("TESTHOME=");

// Use an impossible value so we can detect whether it isn't updated
// during initialization.
Expand Down