diff options
author | Gregory P. Smith <greg@krypto.org> | 2019-10-12 16:35:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-12 16:35:53 -0700 |
commit | 67b93f80c764bca01c81c989d74a99df208bea4d (patch) | |
tree | 7d116ba2b5e1f6debe48d6e551eab75540dd3cb3 /Python/bltinmodule.c | |
parent | f3751efb5c8b53b37efbbf75d9422c1d11c01646 (diff) | |
download | cpython-git-67b93f80c764bca01c81c989d74a99df208bea4d.tar.gz |
bpo-38456: Use /bin/true in test_subprocess (GH-16736)
* bpo-38456: Use /bin/true in test_subprocess.
Instead of sys.executable, "-c", "pass" or "import sys; sys.exit(0)"
use /bin/true when it is available. On a reasonable machine this
shaves up to two seconds wall time off the otherwise ~40sec execution
on a --with-pydebug build. It should be more notable on many
buildbots or overloaded slower I/O systems (CI, etc).
Diffstat (limited to 'Python/bltinmodule.c')
0 files changed, 0 insertions, 0 deletions