summaryrefslogtreecommitdiff
path: root/asynciotest.py
diff options
context:
space:
mode:
Diffstat (limited to 'asynciotest.py')
-rw-r--r--asynciotest.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/asynciotest.py b/asynciotest.py
new file mode 100644
index 0000000..f588a22
--- /dev/null
+++ b/asynciotest.py
@@ -0,0 +1,8 @@
+import asyncio
+
+async def echo():
+ pass
+
+if __name__ == '__main__':
+ loop = asyncio.get_event_loop()
+ loop.run_forever(echo())