From 51e0e5a6c9ee6f65f615bf2cb4f83beb44836f17 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci-lite[bot]" <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Date: Sat, 20 Jun 2026 15:48:04 +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_depends_deadlock.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_depends_deadlock.py b/tests/test_depends_deadlock.py index 07e1a6303..c3d2ee075 100644 --- a/tests/test_depends_deadlock.py +++ b/tests/test_depends_deadlock.py @@ -4,7 +4,6 @@ import threading import time from collections.abc import Iterator -import pytest from fastapi import Depends, FastAPI from httpx import ASGITransport, AsyncClient from pydantic import BaseModel @@ -54,7 +53,9 @@ def test_depends_deadlock() -> None: proc.join(timeout=10) try: - assert not proc.is_alive(), "Process is still alive after timeout, likely due to a deadlock" + assert not proc.is_alive(), ( + "Process is still alive after timeout, likely due to a deadlock" + ) finally: proc.kill() # Ensure the process is terminated if it's still alive