mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-12-04 08:44:02 +03:00
fixed flake8 errors
This commit is contained in:
parent
c95a7aa40a
commit
c04d629909
|
|
@ -779,8 +779,7 @@ class TestToRepresentationManagerCheck:
|
||||||
|
|
||||||
class TestListSerializerDictErrorBehavior:
|
class TestListSerializerDictErrorBehavior:
|
||||||
"""
|
"""
|
||||||
Tests for the proposed dict-based error structure for ListSerializer,
|
Tests dict-based error structure for ListSerializer, and consistency with ListField.
|
||||||
and consistency with ListField.
|
|
||||||
|
|
||||||
https://github.com/encode/django-rest-framework/issues/7279
|
https://github.com/encode/django-rest-framework/issues/7279
|
||||||
"""
|
"""
|
||||||
|
|
@ -820,8 +819,6 @@ class TestListSerializerDictErrorBehavior:
|
||||||
"num": [ErrorDetail(string="Must be a valid boolean.", code="invalid")]
|
"num": [ErrorDetail(string="Must be a valid boolean.", code="invalid")]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def test_listserializer_and_listfield_consistency(self):
|
def test_listserializer_and_listfield_consistency(self):
|
||||||
|
|
||||||
data = {
|
data = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user