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: