Browse Source
✅ Update tests to import Annotated from typing_extensions for Python < 3.9 (#9795)
pull/9796/head
Sebastián Ramírez
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
4 deletions
-
tests/test_regex_deprecated_body.py
-
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, Form |
|
|
|
from fastapi.testclient import TestClient |
|
|
|
from fastapi.utils import match_pydantic_error_url |
|
|
|
from typing_extensions import Annotated |
|
|
|
|
|
|
|
from .utils import needs_py310 |
|
|
|
|
|
|
|
|
|
@ -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 |
|
|
|
|
|
|
|