From 6631a09e85df71342175327091d03f291a07c5ec Mon Sep 17 00:00:00 2001 From: Asif Saif Uddin Date: Mon, 12 Jun 2023 12:44:34 +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 08e1abd5b..29e44cdef 100644 --- a/tests/schemas/test_coreapi.py +++ b/tests/schemas/test_coreapi.py @@ -1445,7 +1445,7 @@ def test_schema_handles_exception(): @pytest.mark.skipif(not coreapi, reason='coreapi is not installed') def test_coreapi_deprecation(): - with pytest.warns(RemovedInDRF315Warning): + with pytest.warns(RemovedInDRF317Warning): SchemaGenerator() with pytest.warns(RemovedInDRF315Warning):