diff options
author | Kumar Aditya <kumaraditya@python.org> | 2025-02-18 12:08:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-18 12:08:25 (GMT) |
commit | 2e3e65380b91124267212114c7f62b85edf6e810 (patch) | |
tree | d790b2511b5ac42e28cb6d9346922d5e8eefaafb /Python/bytecodes.c | |
parent | b93b7e566e5a4efe7f077af2083140e50bd2b08f (diff) | |
download | cpython-2e3e65380b91124267212114c7f62b85edf6e810.zip cpython-2e3e65380b91124267212114c7f62b85edf6e810.tar.gz cpython-2e3e65380b91124267212114c7f62b85edf6e810.tar.bz2 |
improve `test_tasks` to use correct idiom for starting task in asyncio (#130257)
The test should use the correct idiom for starting the task, `loop._run_once` is private API which should not be used directly, instead use `asyncio.sleep(0)` for 1 event loop cycle.
Diffstat (limited to 'Python/bytecodes.c')
0 files changed, 0 insertions, 0 deletions