Skip to content

Commit

Permalink
disable pylint warinings
Browse files Browse the repository at this point in the history
  • Loading branch information
nesb1 committed Jan 29, 2025
1 parent d80fb05 commit 7ad37f8
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,13 @@ def fixture_suppress():
@pytest.mark.asyncio
async def test_aiohttp_app_instrumented():
AioHttpServerInstrumentor().instrument()
from aiohttp import web, web_app # pylint: disable=import-outside-toplevel
from aiohttp.web import Application as WebApplication # pylint: disable=import-outside-toplevel
from aiohttp.web_app import Application as WebAppApplication # pylint: disable=import-outside-toplevel
from aiohttp import web, web_app # pylint: disable=C0415
from aiohttp.web import ( # pylint: disable=C0415
Application as WebApplication,
)
from aiohttp.web_app import ( # pylint: disable=C0415
Application as WebAppApplication,
)

assert web.Application is _InstrumentedApplication
assert WebApplication is _InstrumentedApplication
Expand Down

0 comments on commit 7ad37f8

Please sign in to comment.