mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-18 04:02:35 +03:00
Update tests/schemas/test_coreapi.py
This commit is contained in:
parent
3592a14b05
commit
6631a09e85
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user