From ac9474eb4b8d18854993cd154238d880710c09c3 Mon Sep 17 00:00:00 2001 From: Asif Saif Uddin Date: Mon, 12 Jun 2023 12:40:37 +0600 Subject: [PATCH] Update tests/schemas/test_coreapi.py --- tests/schemas/test_coreapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/schemas/test_coreapi.py b/tests/schemas/test_coreapi.py index 5027ce40a..06a0c36d7 100644 --- a/tests/schemas/test_coreapi.py +++ b/tests/schemas/test_coreapi.py @@ -1474,7 +1474,7 @@ def test_coreapi_deprecation(): paginator = PageNumberPagination() paginator.get_schema_fields({}) - with pytest.warns(RemovedInDRF315Warning): + with pytest.warns(RemovedInDRF317Warning): paginator = LimitOffsetPagination() paginator.get_schema_fields({})