Skip to content

Commit 2d81647

Browse files
committed
disable pylint warinings
1 parent e5216d4 commit 2d81647

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

instrumentation/opentelemetry-instrumentation-aiohttp-server/tests/test_aiohttp_server_integration.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,13 @@ def fixture_suppress():
7474
@pytest.mark.asyncio
7575
async def test_aiohttp_app_instrumented():
7676
AioHttpServerInstrumentor().instrument()
77-
from aiohttp import web, web_app # pylint: disable=import-outside-toplevel
78-
from aiohttp.web import Application as WebApplication # pylint: disable=import-outside-toplevel
79-
from aiohttp.web_app import Application as WebAppApplication # pylint: disable=import-outside-toplevel
77+
from aiohttp import web, web_app # pylint: disable=C0415
78+
from aiohttp.web import ( # pylint: disable=C0415
79+
Application as WebApplication,
80+
)
81+
from aiohttp.web_app import ( # pylint: disable=C0415
82+
Application as WebAppApplication,
83+
)
8084

8185
assert web.Application is _InstrumentedApplication
8286
assert WebApplication is _InstrumentedApplication

0 commit comments

Comments
 (0)