RuntimeError: Cannot run the event loop while another loop is running
Sanic项目做测试,运行 `pytest` 时报了这个错:`RuntimeError: Cannot run the event loop while another loop is running`代码如下:import pytestfrom models.nezha import get_room_name@pytest.mark.asyncioasync def tes...