diff options
Diffstat (limited to 't/eager_and_scheduled.py')
| -rw-r--r-- | t/eager_and_scheduled.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/t/eager_and_scheduled.py b/t/eager_and_scheduled.py deleted file mode 100644 index 030b539..0000000 --- a/t/eager_and_scheduled.py +++ /dev/null @@ -1,20 +0,0 @@ -import asyncio - - -async def foo(): - await asyncio.sleep(1.0) - await baz() - await asyncio.sleep(0.5) - - -async def bar(): - proc = await asyncio.create_subprocess_shell('sleep 1.0') - await proc.communicate() - - -async def baz(): - await asyncio.sleep(1.0) - - -asyncio.run(foo()) -asyncio.run(bar()) |
