From 091d391e07b1bec8d83e8f86bac345270e3b86ff Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Fri, 1 Nov 2024 14:07:21 +0100 Subject: [PATCH] remove custom event loop --- tests/conftest.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 5ab85275..e9ca102e 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,4 +1,3 @@ -import asyncio import importlib import multiprocessing import os @@ -60,13 +59,6 @@ # from cashu.mint.startup import lightning_backend # noqa -@pytest.fixture(scope="function") -def event_loop(): - loop = asyncio.new_event_loop() - yield loop - loop.close() - - class UvicornServer(multiprocessing.Process): def __init__(self, config: Config): super().__init__()