summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-06-08 23:30:15 -0400
committerbd <bdunahu@operationnull.com>2025-06-08 23:30:15 -0400
commitf5afb948e7477aaf274e464cbe8a841ece2919ce (patch)
tree7409e56d2906c6419c0dd91f0a67dd53b315ced0 /tests
parentb2e45ec5af0b312aa82b950d284ad44f72702f6f (diff)
add simult.py test
Diffstat (limited to 'tests')
-rw-r--r--tests/simult.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/simult.py b/tests/simult.py
new file mode 100644
index 0000000..a840db5
--- /dev/null
+++ b/tests/simult.py
@@ -0,0 +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")
+
+asyncio.run(main())