Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Mar 3, 2025

Replace hardcoded delay (100 ms) with a loop awaiting until a
condition is true: replace assertReturnsIfImplemented() with
assertReachesEventually().

Use sleeping_retry() in assertReachesEventually() to tolerate slow
buildbots and raise an exception on timeout (30 seconds).
(cherry picked from commit 8a64a62)

Co-authored-by: Victor Stinner [email protected]

Replace hardcoded delay (100 ms) with a loop awaiting until a
condition is true: replace assertReturnsIfImplemented() with
assertReachesEventually().

Use sleeping_retry() in assertReachesEventually() to tolerate slow
buildbots and raise an exception on timeout (30 seconds).
(cherry picked from commit 8a64a62)

Co-authored-by: Victor Stinner <[email protected]>
@miss-islington miss-islington requested a review from gpshead as a code owner March 3, 2025 18:45
@bedevere-app bedevere-app bot added tests Tests in the Lib/test dir awaiting review labels Mar 3, 2025
@vstinner vstinner enabled auto-merge (squash) March 3, 2025 18:48
@vstinner vstinner merged commit d00e92b into python:3.13 Mar 3, 2025
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants