]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-130736: Fix asyncio test_shutdown_default_executor_timeout() (GH-130800...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 4 Mar 2025 12:11:31 +0000 (13:11 +0100)
committerGitHub <noreply@github.com>
Tue, 4 Mar 2025 12:11:31 +0000 (17:41 +0530)
commit39dc7a1af236e263ac46ee5a48068faddca2651e
treee2a7cff4aa66b3a611c866cca297f3d041d8f950
parentd00e92bc04d90623b7cf665e23dd623a8d7e02df
[3.13] gh-130736: Fix asyncio test_shutdown_default_executor_timeout() (GH-130800) (#130825)

gh-130736: Fix asyncio test_shutdown_default_executor_timeout() (GH-130800)

Replace time.sleep() with threading.Event.
(cherry picked from commit 6c48ed7d62c6ca0eb24935b0e612f9e4a1a3b1bc)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_asyncio/test_base_events.py