commit | 67b93f80c764bca01c81c989d74a99df208bea4d | [log] [tgz] |
---|---|---|
author | Gregory P. Smith <greg@krypto.org> | Sat Oct 12 16:35:53 2019 -0700 |
committer | GitHub <noreply@github.com> | Sat Oct 12 16:35:53 2019 -0700 |
tree | 7d116ba2b5e1f6debe48d6e551eab75540dd3cb3 | |
parent | f3751efb5c8b53b37efbbf75d9422c1d11c01646 [diff] |
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).