diff options
| author | bd <bdunahu@operationnull.com> | 2025-07-21 12:53:59 -0600 |
|---|---|---|
| committer | bd <bdunahu@operationnull.com> | 2025-07-21 12:53:59 -0600 |
| commit | 83e88319b72df01fa70e6bf3a020ab745cdef661 (patch) | |
| tree | cf53f7bed1a12036365343b393ea448153003b75 /t/eager_and_scheduled.py | |
| parent | 1eddfd07cad491ce8d216ee3fda72bdd9ecb9eae (diff) | |
Adapt the rest of the existing test to unit tests
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()) |
