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")