]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-109067: fix randomly failing `test_async_gen_asyncio_gc_aclose_09` test (#109142)
authorKumar Aditya <kumaraditya@python.org>
Fri, 8 Sep 2023 16:27:58 +0000 (21:57 +0530)
committerGitHub <noreply@github.com>
Fri, 8 Sep 2023 16:27:58 +0000 (16:27 +0000)
commitccd48623d4860e730a16f3f252d67bfea8c1e905
tree4a627fca257f78fd7431a67a802f2febbef7cf1d
parent52beebc856fedf507ac0eb9e45c2e2c9fed1e5b8
GH-109067: fix randomly failing `test_async_gen_asyncio_gc_aclose_09` test (#109142)

Use `asyncio.sleep(0)` instead of short sleeps.
Lib/test/test_asyncgen.py