From aa97e7245aa8cc72ccabb80a603d9aa0d023006b Mon Sep 17 00:00:00 2001 From: Frank Hoffmann <15r10nk-git@polarbit.de> Date: Mon, 31 Mar 2025 12:53:47 +0200 Subject: [PATCH] added deprecation comment and updated to newest inline-snapshot version --- requirements-tests.txt | 2 +- tests/utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements-tests.txt b/requirements-tests.txt index d35c7b5b0..71cba28ac 100644 --- a/requirements-tests.txt +++ b/requirements-tests.txt @@ -10,7 +10,7 @@ anyio[trio] >=3.2.1,<5.0.0 PyJWT==2.8.0 pyyaml >=5.3.1,<7.0.0 passlib[bcrypt] >=1.7.2,<2.0.0 -inline-snapshot>=0.15.0 +inline-snapshot>=0.21.1 # types types-ujson ==5.10.0.20240515 types-orjson ==3.6.2 diff --git a/tests/utils.py b/tests/utils.py index 2945d8216..c98e20c16 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -15,7 +15,7 @@ needs_pydanticv1 = pytest.mark.skipif(PYDANTIC_V2, reason="requires Pydantic v1" def pydantic_snapshot( *, v2: Snapshot, - v1: Snapshot, + v1: Snapshot, # Remove v1 argument when deprecating Pydantic v1 ): """ This function should be used like this: