diff --git a/tests/extmod/uasyncio_fair.py b/tests/extmod/uasyncio_fair.py index e0ee811a9b..e225706054 100644 --- a/tests/extmod/uasyncio_fair.py +++ b/tests/extmod/uasyncio_fair.py @@ -21,12 +21,13 @@ async def task(id, t): async def main(): t1 = asyncio.create_task(task(1, -0.01)) t2 = asyncio.create_task(task(2, 0.1)) - t3 = asyncio.create_task(task(3, 0.2)) - t3 = asyncio.create_task(task(4, -100)) + t3 = asyncio.create_task(task(3, 0.18)) + t4 = asyncio.create_task(task(4, -100)) await asyncio.sleep(0.5) t1.cancel() t2.cancel() t3.cancel() + t4.cancel() print("finish")