summaryrefslogtreecommitdiff
path: root/tests/simult.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/simult.py')
-rw-r--r--tests/simult.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/simult.py b/tests/simult.py
index a840db5..6228596 100644
--- a/tests/simult.py
+++ b/tests/simult.py
@@ -1,10 +1,12 @@
import asyncio
+
async def count():
print("before")
await asyncio.sleep(1)
print("after")
+
async def main():
await asyncio.gather(count(), count(), count())
print("done")