File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
instrumentation/opentelemetry-instrumentation-aiohttp-server/tests Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -74,9 +74,13 @@ def fixture_suppress():
7474@pytest .mark .asyncio
7575async 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
You can’t perform that action at this time.
0 commit comments