fixed flake8 errors

This commit is contained in:
Pravin Kamble 2025-11-26 11:26:18 +05:30
parent c95a7aa40a
commit c04d629909

View File

@ -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 = {