diff options
author | Victor Stinner <vstinner@python.org> | 2022-06-16 11:44:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-16 11:44:58 (GMT) |
commit | 484b40bf189ae881992366f2b7b6b63812d18591 (patch) | |
tree | bbcd6c86628c194a46904204eeaf7a40672cba48 /Lib/test/fork_wait.py | |
parent | 05b32c1c796d6c80479756ae898f488eac5f4f71 (diff) | |
download | cpython-484b40bf189ae881992366f2b7b6b63812d18591.zip cpython-484b40bf189ae881992366f2b7b6b63812d18591.tar.gz cpython-484b40bf189ae881992366f2b7b6b63812d18591.tar.bz2 |
Call busy_retry() and sleeping_retry() with error=True (#93871)
Tests no longer call busy_retry() and sleeping_retry() with
error=False: raise an exception if the loop times out.
Diffstat (limited to 'Lib/test/fork_wait.py')
-rw-r--r-- | Lib/test/fork_wait.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/fork_wait.py b/Lib/test/fork_wait.py index c565f59..ebd07e6 100644 --- a/Lib/test/fork_wait.py +++ b/Lib/test/fork_wait.py @@ -54,7 +54,7 @@ class ForkWait(unittest.TestCase): self.threads.append(thread) # busy-loop to wait for threads - for _ in support.sleeping_retry(support.SHORT_TIMEOUT, error=False): + for _ in support.sleeping_retry(support.SHORT_TIMEOUT): if len(self.alive) >= NUM_THREADS: break |