]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] 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:00 +0000 (13:11 +0100)
committerGitHub <noreply@github.com>
Tue, 4 Mar 2025 12:11:00 +0000 (17:41 +0530)
commita0ac4dbe88041c7ca1d58c85305bf9d8c2286c19
tree47ebc73290606149ea966f29c30fbcc225393351
parent7ce5f1598186ef652246aefbea498f2dd4f3dcfd
[3.12] gh-130736: Fix asyncio test_shutdown_default_executor_timeout() (GH-130800) (#130826)

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