summaryrefslogtreecommitdiff
path: root/tests/extmod/uasyncio_gather.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extmod/uasyncio_gather.py')
-rw-r--r--tests/extmod/uasyncio_gather.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/extmod/uasyncio_gather.py b/tests/extmod/uasyncio_gather.py
index c081221c9..af6ea555a 100644
--- a/tests/extmod/uasyncio_gather.py
+++ b/tests/extmod/uasyncio_gather.py
@@ -53,6 +53,11 @@ async def main():
print("====")
+ # Gather with no awaitables
+ print(await asyncio.gather())
+
+ print("====")
+
# Test return_exceptions, where one task is cancelled and the other finishes normally
tasks = [asyncio.create_task(task(1)), asyncio.create_task(task(2))]
tasks[0].cancel()