Update tests/schemas/test_coreapi.py

This commit is contained in:
Asif Saif Uddin 2023-06-12 12:45:51 +06:00 committed by GitHub
parent 4852e0dad3
commit c8f1d0432c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1454,7 +1454,7 @@ def test_coreapi_deprecation():
with pytest.warns(RemovedInDRF317Warning):
ManualSchema({})
with pytest.warns(RemovedInDRF315Warning):
with pytest.warns(RemovedInDRF317Warning):
deprecated_filter = OrderingFilter()
deprecated_filter.get_schema_fields({})