Skip to content

Commit

Permalink
Put the fixture back
Browse files Browse the repository at this point in the history
  • Loading branch information
Kludex committed May 4, 2022
1 parent 873217d commit 03f7b60
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/protocols/test_http.py
Expand Up @@ -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")
Expand Down

0 comments on commit 03f7b60

Please sign in to comment.