From adbe783f264e02d71f058e48638698b18b3d17c6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci-lite[bot]" <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Date: Tue, 2 Dec 2025 08:23:05 +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_compat.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/test_compat.py b/tests/test_compat.py index 13077d1f4..44fcf0404 100644 --- a/tests/test_compat.py +++ b/tests/test_compat.py @@ -1,8 +1,7 @@ import sys -import pytest - from typing import Any, Dict, List, Union +import pytest from fastapi import FastAPI, UploadFile from fastapi._compat import ( Undefined, @@ -154,7 +153,7 @@ def test_serialize_sequence_value_with_optional_list(): @needs_pydanticv2 @pytest.mark.skipif( sys.version_info < (3, 10), - reason='Requires new union syntax', + reason="Requires new union syntax", ) def test_serialize_sequence_value_with_optional_list_pipe_union(): """Test that serialize_sequence_value handles optional lists correctly (with new syntax)."""