File tree 2 files changed +1
-5
lines changed
2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -485,8 +485,6 @@ static int test_init_from_config(void)
485
485
486
486
config .install_signal_handlers = 0 ;
487
487
488
- putenv ("PYTHONOLDPARSER=1" );
489
-
490
488
/* FIXME: test use_environment */
491
489
492
490
putenv ("PYTHONHASHSEED=42" );
@@ -673,7 +671,6 @@ static void set_most_env_vars(void)
673
671
putenv ("PYTHONNOUSERSITE=1" );
674
672
putenv ("PYTHONFAULTHANDLER=1" );
675
673
putenv ("PYTHONIOENCODING=iso8859-1:replace" );
676
- putenv ("PYTHONOLDPARSER=1" );
677
674
putenv ("PYTHONPLATLIBDIR=env_platlibdir" );
678
675
}
679
676
Original file line number Diff line number Diff line change @@ -25,9 +25,8 @@ def main(regrtest_args):
25
25
'-u' , # Unbuffered stdout and stderr
26
26
'-W' , 'default' , # Warnings set to 'default'
27
27
'-bb' , # Warnings about bytes/bytearray
28
+ '-E' , # Ignore environment variables
28
29
]
29
- if 'PYTHONOLDPARSER' not in os .environ :
30
- args .append ('-E' ) # Ignore environment variables
31
30
32
31
# Allow user-specified interpreter options to override our defaults.
33
32
args .extend (test .support .args_from_interpreter_flags ())
You can’t perform that action at this time.
0 commit comments