Update tests/schemas/test_coreapi.py

This commit is contained in:
Asif Saif Uddin 2023-06-12 12:45:16 +06:00 committed by GitHub
parent 5ec8d3ad03
commit 4045e062f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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