Browse Source

🎨 Auto format

pull/14430/head
pre-commit-ci-lite[bot] 8 months ago
committed by GitHub
parent
commit
adbe783f26
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 5
      tests/test_compat.py

5
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)."""

Loading…
Cancel
Save