diff --git a/packages/service-library/tests/aiohttp/test_tracing.py b/packages/service-library/tests/aiohttp/test_tracing.py index 0d13c31d6ef9..0bd72428630e 100644 --- a/packages/service-library/tests/aiohttp/test_tracing.py +++ b/packages/service-library/tests/aiohttp/test_tracing.py @@ -54,7 +54,7 @@ async def skip(request: web.Request): # UNDER TEST --- # SEE RoutesView to understand how resources can be iterated to get routes resource = app.router["skip"] - routes_in_a_resource = [r for r in resource] + routes_in_a_resource = list(resource) setup_tracing( app,