From 5c408b7409c059c1eb7cb0ed03e0a889ceb707e8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci-lite[bot]" <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Date: Thu, 26 Feb 2026 22:48:02 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Auto=20format?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_mount_sub_app_router.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/test_mount_sub_app_router.py b/tests/test_mount_sub_app_router.py index 9d81703318..fdc1b06ef5 100644 --- a/tests/test_mount_sub_app_router.py +++ b/tests/test_mount_sub_app_router.py @@ -52,7 +52,5 @@ def test_mount_preserved_in_routes(): app = FastAPI() app.include_router(router) - mount_routes = [ - r for r in app.routes if isinstance(r, Mount) and "/sub" in r.path - ] + mount_routes = [r for r in app.routes if isinstance(r, Mount) and "/sub" in r.path] assert len(mount_routes) == 1