Browse Source

Remove redundand `needs_py39` in test

pull/14569/head
Yurii Motov 7 months ago
parent
commit
871d20795b
  1. 4
      tests/test_tutorial/test_query_params_str_validations/test_tutorial006.py

4
tests/test_tutorial/test_query_params_str_validations/test_tutorial006.py

@ -3,7 +3,7 @@ import importlib
import pytest import pytest
from fastapi.testclient import TestClient from fastapi.testclient import TestClient
from ...utils import needs_py39, needs_pydanticv2 from ...utils import needs_pydanticv2
skip_for_pydantic_v1 = needs_pydanticv2 skip_for_pydantic_v1 = needs_pydanticv2
@ -12,7 +12,7 @@ skip_for_pydantic_v1 = needs_pydanticv2
name="client", name="client",
params=[ params=[
pytest.param("tutorial006_py39"), pytest.param("tutorial006_py39"),
pytest.param("tutorial006_an_py39", marks=needs_py39), pytest.param("tutorial006_an_py39"),
], ],
) )
def get_client(request: pytest.FixtureRequest): def get_client(request: pytest.FixtureRequest):

Loading…
Cancel
Save