From 68a08572c1f814d5dea07a677f519ae6cafed8b6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci-lite[bot]" <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Date: Sun, 15 Feb 2026 11:12:42 +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_openapi_custom_response_class_no_status_code.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/test_openapi_custom_response_class_no_status_code.py b/tests/test_openapi_custom_response_class_no_status_code.py index 18294f181..7ec1d7115 100644 --- a/tests/test_openapi_custom_response_class_no_status_code.py +++ b/tests/test_openapi_custom_response_class_no_status_code.py @@ -1,8 +1,7 @@ -from starlette.responses import Response - from fastapi import FastAPI from fastapi.testclient import TestClient from inline_snapshot import snapshot +from starlette.responses import Response class CustomResponse(Response): @@ -51,7 +50,9 @@ def test_openapi_schema(): "responses": { "200": { "description": "Successful Response", - "content": {"text/plain": {"schema": {"type": "string"}}}, + "content": { + "text/plain": {"schema": {"type": "string"}} + }, } }, }