Skip to content

Commit fe69a5c

Browse files
committed
.
1 parent 5afb12c commit fe69a5c

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

tests/integrations/aiohttp/test_aiohttp.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import asyncio
22
import json
3-
import sys
3+
44
from contextlib import suppress
55
from unittest import mock
66

@@ -474,14 +474,6 @@ async def hello(request):
474474
assert error_event["contexts"]["trace"]["trace_id"] == trace_id
475475

476476

477-
if sys.version_info < (3, 12):
478-
# `loop` was deprecated in `pytest-aiohttp`
479-
# in favor of `event_loop` from `pytest-asyncio`
480-
@pytest.fixture
481-
def event_loop(loop):
482-
yield loop
483-
484-
485477
@pytest.mark.asyncio
486478
async def test_crumb_capture(
487479
sentry_init, aiohttp_raw_server, aiohttp_client, event_loop, capture_events

0 commit comments

Comments
 (0)