diff --git a/tests/test_pagination.py b/tests/test_pagination.py index b9266d36..28c6fa6e 100644 --- a/tests/test_pagination.py +++ b/tests/test_pagination.py @@ -427,7 +427,7 @@ def test_config_error_NOT_SET(): def invalid2(request): pass -@pytest.mark.skipif(version_info < (3, 11), "Not needed at this Python version") +@pytest.mark.skipif(version_info < (3, 11), reason="Not needed at this Python version") def test_pagination_works_with_unnamed_classes(): """ This test lets you check that the typing.Any case handled in `ninja.pagination.make_response_paginated`