Mercurial > cpython-lru_cache-weakref
diff Lib/test/script_helper.py @ 84344:c31bec42e411
Issue #17206: test.regrtest and test.script_helper enable faulthandler module
in subprocesses.
| author | Victor Stinner <victor.stinner@gmail.com> |
|---|---|
| date | Tue, 25 Jun 2013 21:24:36 +0200 |
| parents | bc18b5d4920e |
| children | b20a10c97e08 |
line wrap: on
line diff
--- a/Lib/test/script_helper.py Tue Jun 25 08:11:22 2013 -0400 +++ b/Lib/test/script_helper.py Tue Jun 25 21:24:36 2013 +0200 @@ -17,7 +17,7 @@ # 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
