summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2020-06-11 17:08:05 (GMT)
committerGitHub <noreply@github.com>2020-06-11 17:08:05 (GMT)
commit436b648910c27baf8164a6d46d746d36d8a93478 (patch)
treebe4a948e6ad78d75c5da55429607cd36d55d76ed /Tools
parent1ed83adb0e95305af858bd41af531e487f54fee7 (diff)
downloadcpython-436b648910c27baf8164a6d46d746d36d8a93478.zip
cpython-436b648910c27baf8164a6d46d746d36d8a93478.tar.gz
cpython-436b648910c27baf8164a6d46d746d36d8a93478.tar.bz2
bpo-40939: Remove some extra references to PYTHONOLDPARSER (GH-20815)
Automerge-Triggered-By: @pablogsal
Diffstat (limited to 'Tools')
-rw-r--r--Tools/scripts/run_tests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Tools/scripts/run_tests.py b/Tools/scripts/run_tests.py
index bcfa5e9..48feb3f 100644
--- a/Tools/scripts/run_tests.py
+++ b/Tools/scripts/run_tests.py
@@ -25,9 +25,8 @@ def main(regrtest_args):
'-u', # Unbuffered stdout and stderr
'-W', 'default', # Warnings set to 'default'
'-bb', # Warnings about bytes/bytearray
+ '-E', # Ignore environment variables
]
- if 'PYTHONOLDPARSER' not in os.environ:
- args.append('-E') # Ignore environment variables
# Allow user-specified interpreter options to override our defaults.
args.extend(test.support.args_from_interpreter_flags())