How to fix "attached to a different loop"? · Issue #38 · pytest-dev/pytest-asyncio

I have a very simple app called "myapp". It uses the AsyncElasticsearch client: from elasticsearch_async import AsyncElasticsearch def create_app(): app = dict() app['es_client'] = AsyncElasticsear...