diff options
Diffstat (limited to 'Programs')
-rw-r--r-- | Programs/_testembed.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Programs/_testembed.c b/Programs/_testembed.c index 8165aa7..2cf0d71 100644 --- a/Programs/_testembed.c +++ b/Programs/_testembed.c @@ -485,8 +485,8 @@ static int test_init_from_config(void) config.install_signal_handlers = 0; - putenv("PYTHONOLDPARSER="); - config.use_peg = 0; + putenv("PYTHONOLDPARSER=1"); + config._use_peg_parser = 0; /* FIXME: test use_environment */ @@ -665,6 +665,7 @@ static void set_most_env_vars(void) putenv("PYTHONNOUSERSITE=1"); putenv("PYTHONFAULTHANDLER=1"); putenv("PYTHONIOENCODING=iso8859-1:replace"); + putenv("PYTHONOLDPARSER=1"); } |