📝 Update source examples and docs from Python 3.9 to 3.10 (#14900)

This commit is contained in:
Sebastián Ramírez authored and GitHub committed 2026-02-12 14:19:43 +01:00
1 parent d06ab3f5c7
commit c9e2277d8b
655 files changed
+3703 -5660

No files matched your search

@@ -8,8 +8,8 @@ from inline_snapshot import snapshot
@pytest.fixture(
name="client",
params=[
pytest.param("tutorial001_py39"),
pytest.param("tutorial001_an_py39"),
pytest.param("tutorial001_py310"),
pytest.param("tutorial001_an_py310"),
],
)
def get_client(request: pytest.FixtureRequest):
@@ -10,9 +10,7 @@ from ...utils import needs_py310
@pytest.fixture(
name="client",
params=[
pytest.param("tutorial002_py39"),
pytest.param("tutorial002_py310", marks=needs_py310),
pytest.param("tutorial002_an_py39"),
pytest.param("tutorial002_an_py310", marks=needs_py310),
],
)
@@ -10,9 +10,7 @@ from ...utils import needs_py310
@pytest.fixture(
name="client",
params=[
pytest.param("tutorial003_py39"),
pytest.param("tutorial003_py310", marks=needs_py310),
pytest.param("tutorial003_an_py39"),
pytest.param("tutorial003_an_py310", marks=needs_py310),
],
)
@@ -12,9 +12,7 @@ from ...utils import needs_py310
@pytest.fixture(
name="mod",
params=[
pytest.param("tutorial004_py39"),
pytest.param("tutorial004_py310", marks=needs_py310),
pytest.param("tutorial004_an_py39"),
pytest.param("tutorial004_an_py310", marks=needs_py310),
],
)
@@ -11,9 +11,7 @@ from ...utils import needs_py310
@pytest.fixture(
name="mod",
params=[
pytest.param("tutorial005_py39"),
pytest.param("tutorial005_py310", marks=needs_py310),
pytest.param("tutorial005_an_py39"),
pytest.param("tutorial005_an_py310", marks=needs_py310),
],
)
@@ -9,8 +9,8 @@ from inline_snapshot import snapshot
@pytest.fixture(
name="client",
params=[
pytest.param("tutorial006_py39"),
pytest.param("tutorial006_an_py39"),
pytest.param("tutorial006_py310"),
pytest.param("tutorial006_an_py310"),
],
)
def get_client(request: pytest.FixtureRequest):
@@ -9,8 +9,8 @@ from inline_snapshot import snapshot
@pytest.fixture(
name="client",
params=[
pytest.param("tutorial007_py39"),
pytest.param("tutorial007_an_py39"),
pytest.param("tutorial007_py310"),
pytest.param("tutorial007_an_py310"),
],
)
def get_client(request: pytest.FixtureRequest):