From 4045e062f731f62c17a6eead1f808065eb7b1d04 Mon Sep 17 00:00:00 2001 From: Asif Saif Uddin Date: Mon, 12 Jun 2023 12:45: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 e7f8c053a..720f70725 100644 --- a/tests/schemas/test_coreapi.py +++ b/tests/schemas/test_coreapi.py @@ -1448,7 +1448,7 @@ def test_coreapi_deprecation(): with pytest.warns(RemovedInDRF317Warning): SchemaGenerator() - with pytest.warns(RemovedInDRF315Warning): + with pytest.warns(RemovedInDRF317Warning): AutoSchema() with pytest.warns(RemovedInDRF315Warning):