Skip to content

Commit c6d7de5

Browse files
committed
added another test
1 parent b1cef68 commit c6d7de5

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

tests/test_unit_eval.py

+14-1
Original file line numberDiff line numberDiff line change
@@ -1427,7 +1427,7 @@ async def func():
14271427
"""
14281428
import asyncio
14291429
async def coro():
1430-
await asyncio.sleep(0.1)
1430+
await asyncio.sleep(1e-5)
14311431
return "done"
14321432
14331433
await coro()
@@ -1482,6 +1482,19 @@ async def handler():
14821482
""",
14831483
True,
14841484
],
1485+
[
1486+
"""
1487+
@pyscript_compile
1488+
async def coro0():
1489+
return 123
1490+
1491+
async def coro1():
1492+
return 456
1493+
1494+
[await coro0(), await coro1()]
1495+
""",
1496+
[123, 456],
1497+
],
14851498
]
14861499

14871500

0 commit comments

Comments
 (0)