summaryrefslogtreecommitdiffstats
path: root/Lib/test/script_helper.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-06-25 19:24:36 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-06-25 19:24:36 (GMT)
commit383a820e0dd05273940c9513be7ee17d912aa54f (patch)
treecdaf1a5bbcfacb579b5a25d4acea1b2348ed1838 /Lib/test/script_helper.py
parent4af6898dbd1df44a10f9a08d84691e0c6e69531b (diff)
downloadcpython-383a820e0dd05273940c9513be7ee17d912aa54f.zip
cpython-383a820e0dd05273940c9513be7ee17d912aa54f.tar.gz
cpython-383a820e0dd05273940c9513be7ee17d912aa54f.tar.bz2
Issue #17206: test.regrtest and test.script_helper enable faulthandler module
in subprocesses.
Diffstat (limited to 'Lib/test/script_helper.py')
-rw-r--r--Lib/test/script_helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/script_helper.py b/Lib/test/script_helper.py
index 3b7df42..3c6430b 100644
--- a/Lib/test/script_helper.py
+++ b/Lib/test/script_helper.py
@@ -17,7 +17,7 @@ from test.support import make_legacy_pyc, strip_python_stderr
# Executing the interpreter in a subprocess
def _assert_python(expected_success, *args, **env_vars):
- cmd_line = [sys.executable]
+ cmd_line = [sys.executable, '-X', 'faulthandler']
if not env_vars:
cmd_line.append('-E')
# Need to preserve the original environment, for in-place testing of