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