]> git.ipfire.org Git - thirdparty/fastapi/sqlmodel.git/commitdiff
Remove `needs_py39` marker update-code-examples-to-python-3.9 1693/head
authorYurii Motov <yurii.motov.monte@gmail.com>
Thu, 25 Dec 2025 10:51:05 +0000 (11:51 +0100)
committerYurii Motov <yurii.motov.monte@gmail.com>
Thu, 25 Dec 2025 10:51:05 +0000 (11:51 +0100)
tests/conftest.py
tests/test_select_gen.py

index c9b6f41368a0b4f4ea2ddfbd0ecd97c94acf3382..d8da629db0b83d510f43de2331faf6655ddab0ad 100644 (file)
@@ -89,7 +89,6 @@ def print_mock_fixture() -> Generator[PrintMock, None, None]:
 needs_pydanticv2 = pytest.mark.skipif(not IS_PYDANTIC_V2, reason="requires Pydantic v2")
 needs_pydanticv1 = pytest.mark.skipif(IS_PYDANTIC_V2, reason="requires Pydantic v1")
 
-needs_py39 = pytest.mark.skipif(sys.version_info < (3, 9), reason="requires python3.9+")
 needs_py310 = pytest.mark.skipif(
     sys.version_info < (3, 10), reason="requires python3.10+"
 )
index 664cebf2a7978d9aa54f24301493816278236851..94ed340e94ab61547810b7d096f8f9030bf1ff33 100644 (file)
@@ -3,12 +3,9 @@ import subprocess
 import sys
 from pathlib import Path
 
-from .conftest import needs_py39
-
 root_path = Path(__file__).parent.parent
 
 
-@needs_py39
 def test_select_gen() -> None:
     env = os.environ.copy()
     env["CHECK_JINJA"] = "1"