mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed E128 flake8 warnings in tests/.
This commit is contained in:
@@ -103,8 +103,7 @@ class FieldFlagsTests(test.SimpleTestCase):
|
||||
|
||||
def test_each_object_should_have_auto_created(self):
|
||||
self.assertTrue(
|
||||
all(f.auto_created.__class__ == bool
|
||||
for f in self.fields_and_reverse_objects)
|
||||
all(f.auto_created.__class__ == bool for f in self.fields_and_reverse_objects)
|
||||
)
|
||||
|
||||
def test_non_concrete_fields(self):
|
||||
|
||||
Reference in New Issue
Block a user