asyncio , pytest will execute it as an asynchronous task using event_loop fixture. The example below shows an async test case. Copy. @pytest.
確定! 回上一頁