Update tests/schemas/test_coreapi.py

This commit is contained in:
Asif Saif Uddin 2023-06-12 12:44:34 +06:00 committed by GitHub
parent 3592a14b05
commit 6631a09e85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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):