test(coro): 新增 TPV 协程 try/finally + 帧池 + c.Addr 句柄综合测试
This commit is contained in:
1 parent
58594d4cf7
commit
2f0ebc285b
1 file changed
+1
-1
@@ -31,7 +31,7 @@ async def task() -> int:
|
||||
def main() -> t.CInt:
|
||||
n: t.CInt = 0
|
||||
for i in range(3):
|
||||
tt: coro.Coroutine = task()
|
||||
tt: coro.Coroutine = c.Addr(task())
|
||||
r: t.CInt = coro.coro_run(tt)
|
||||
e: t.CInt = coro.coro_exception(tt)
|
||||
m: t.CPtr = coro.coro_exception_msg(tt)
|
||||
|
||||
Reference in new issue
Block a user