From 03f7b601e1d6e76d8deadc8796f1c4abee8327cd Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Wed, 4 May 2022 19:52:30 +0200 Subject: [PATCH] Put the fixture back --- tests/protocols/test_http.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/protocols/test_http.py b/tests/protocols/test_http.py index 26bade011b..9dff4b0674 100644 --- a/tests/protocols/test_http.py +++ b/tests/protocols/test_http.py @@ -189,12 +189,6 @@ def get_connected_protocol(app, protocol_cls, event_loop, **kwargs): asyncio._set_running_loop(None) -@pytest.fixture -def event_loop(): - with contextlib.closing(asyncio.new_event_loop()) as loop: - yield loop - - @pytest.mark.parametrize("protocol_cls", HTTP_PROTOCOLS) def test_get_request(protocol_cls, event_loop): app = Response("Hello, world", media_type="text/plain")