From 3d4c85c1baeb7b54cae00a667950ac8ed34b09db Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 30 Oct 2025 12:10:25 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20[pre-commit.ci]=20Auto=20format?= =?UTF-8?q?=20from=20pre-commit.com=20hooks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_router_circular_import.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/test_router_circular_import.py b/tests/test_router_circular_import.py index e4d614d56..492a26d00 100644 --- a/tests/test_router_circular_import.py +++ b/tests/test_router_circular_import.py @@ -5,5 +5,8 @@ from fastapi import APIRouter def test_router_circular_import(): router = APIRouter() - with pytest.raises(AssertionError, match="Cannot include the same APIRouter instance into itself. Did you mean to include a different router?"): + with pytest.raises( + AssertionError, + match="Cannot include the same APIRouter instance into itself. Did you mean to include a different router?", + ): router.include_router(router)