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 /Modules/socketmodule.h | |
parent | bpo-38417: Add umask support to subprocess (GH-16726) (diff) | |
download | cpython-67b93f80c764bca01c81c989d74a99df208bea4d.tar.gz cpython-67b93f80c764bca01c81c989d74a99df208bea4d.tar.bz2 cpython-67b93f80c764bca01c81c989d74a99df208bea4d.zip |
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 'Modules/socketmodule.h')
0 files changed, 0 insertions, 0 deletions