diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2025-03-05 12:01:06 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-05 12:01:06 (GMT) |
| commit | aa2c4e4417d618aaa570867ceb3651fef8a8c216 (patch) | |
| tree | c09b9791d046fb0ab3bc6a16f34d812f83b1e6a8 /Python/pythonrun.c | |
| parent | 6321e1ab4bd4cf6cbd610bc196fc5ff8761faa7d (diff) | |
| download | cpython-aa2c4e4417d618aaa570867ceb3651fef8a8c216.zip cpython-aa2c4e4417d618aaa570867ceb3651fef8a8c216.tar.gz cpython-aa2c4e4417d618aaa570867ceb3651fef8a8c216.tar.bz2 | |
[3.13] gh-116742: Fix subprocess test_check_output_timeout() (GH-130836) (#130873)
gh-116742: Fix subprocess test_check_output_timeout() (GH-130836)
Fix a race condition in test_check_output_timeout() of
test_subprocess. Don't write into stdout anymore, since there is no
reliable way to synchronize the parent and the child processes.
Change the timeout from 3 seconds to 0.1 seconds, and remove
@requires_resource('walltime') decorator.
(cherry picked from commit 67a942d4272145ccdbdf4ceff31318e176f71355)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions
