File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 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)
485485
486486 config .install_signal_handlers = 0 ;
487487
488- putenv ("PYTHONOLDPARSER=1" );
489-
490488 /* FIXME: test use_environment */
491489
492490 putenv ("PYTHONHASHSEED=42" );
@@ -673,7 +671,6 @@ static void set_most_env_vars(void)
673671 putenv ("PYTHONNOUSERSITE=1" );
674672 putenv ("PYTHONFAULTHANDLER=1" );
675673 putenv ("PYTHONIOENCODING=iso8859-1:replace" );
676- putenv ("PYTHONOLDPARSER=1" );
677674 putenv ("PYTHONPLATLIBDIR=env_platlibdir" );
678675}
679676
Original file line number Diff line number Diff line change @@ -25,9 +25,8 @@ def main(regrtest_args):
2525 '-u' , # Unbuffered stdout and stderr
2626 '-W' , 'default' , # Warnings set to 'default'
2727 '-bb' , # Warnings about bytes/bytearray
28+ '-E' , # Ignore environment variables
2829 ]
29- if 'PYTHONOLDPARSER' not in os .environ :
30- args .append ('-E' ) # Ignore environment variables
3130
3231 # Allow user-specified interpreter options to override our defaults.
3332 args .extend (test .support .args_from_interpreter_flags ())
You can’t perform that action at this time.
0 commit comments