testing: Don't close the event loop if we didn't create it
This improves compatibility with asyncio test frameworks like pytest-asyncio. Fixes #2324
Showing
想要评论请 注册 或 登录
This improves compatibility with asyncio test frameworks like pytest-asyncio. Fixes #2324