testasync.py import pytest async def add(a: int, b: int): return a + b @pytest.mark.asyncio async def testAdd(): assert await add(1, 2) == 3 ...
確定! 回上一頁