From 34068c2cf7def21e51ebcefc947e85ddf591a26b Mon Sep 17 00:00:00 2001 From: Asif Saif Uddin Date: Mon, 12 Jun 2023 12:46:16 +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 86219f4ba..98fd46f9f 100644 --- a/tests/schemas/test_coreapi.py +++ b/tests/schemas/test_coreapi.py @@ -1458,7 +1458,7 @@ def test_coreapi_deprecation(): deprecated_filter = OrderingFilter() deprecated_filter.get_schema_fields({}) - with pytest.warns(RemovedInDRF315Warning): + with pytest.warns(RemovedInDRF317Warning): deprecated_filter = BaseFilterBackend() deprecated_filter.get_schema_fields({})