Fixed deprecation warning
@@ -4,7 +4,7 @@ from typing import Generator
import pytest
-@pytest.yield_fixture(scope="module")
+@pytest.fixture(scope="module")
def loop() -> Generator:
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
