diff --git a/tests/test_regex_deprecated_body.py b/tests/test_regex_deprecated_body.py index 6384cdd43..ca1ab514c 100644 --- a/tests/test_regex_deprecated_body.py +++ b/tests/test_regex_deprecated_body.py @@ -1,10 +1,9 @@ -from typing import Annotated - import pytest from dirty_equals import IsDict from fastapi import FastAPI, Form from fastapi.testclient import TestClient from fastapi.utils import match_pydantic_error_url +from typing_extensions import Annotated from .utils import needs_py310 diff --git a/tests/test_regex_deprecated_params.py b/tests/test_regex_deprecated_params.py index 5ea4f2ada..79a653353 100644 --- a/tests/test_regex_deprecated_params.py +++ b/tests/test_regex_deprecated_params.py @@ -1,10 +1,9 @@ -from typing import Annotated - import pytest from dirty_equals import IsDict from fastapi import FastAPI, Query from fastapi.testclient import TestClient from fastapi.utils import match_pydantic_error_url +from typing_extensions import Annotated from .utils import needs_py310