diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-10-02 15:42:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-02 15:42:03 (GMT) |
commit | 9cf6d89165ac5543c5c2a3112f303f32778c2548 (patch) | |
tree | 27af1f5c51401db3e12bd5b168530364417f5ad8 /Python/flowgraph.c | |
parent | 9be6a111993c5e75574b0e858b57969c245c5866 (diff) | |
download | cpython-9cf6d89165ac5543c5c2a3112f303f32778c2548.zip cpython-9cf6d89165ac5543c5c2a3112f303f32778c2548.tar.gz cpython-9cf6d89165ac5543c5c2a3112f303f32778c2548.tar.bz2 |
[3.12] gh-109594: Fix concurrent.futures test_timeout() (GH-110018) (#110021)
gh-109594: Fix concurrent.futures test_timeout() (GH-110018)
Fix test_timeout() of test_concurrent_futures.test_wait. Remove the
future which may or may not complete depending if it takes longer
than the timeout ot not. Keep the second future which does not
complete before wait(). Make also the test faster: 0.5 second instead
of 6 seconds, so remove @support.requires_resource('walltime')
decorator.
(cherry picked from commit 9be283e5e15d5d5685b78a38eb132501f7f3febb)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Python/flowgraph.c')
0 files changed, 0 insertions, 0 deletions