1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fix all violators of E231

This commit is contained in:
Alex Gaynor
2013-10-26 12:15:03 -07:00
parent f2d8027c9a
commit 9d740eb8b1
74 changed files with 628 additions and 629 deletions

View File

@@ -32,11 +32,11 @@ class RawQueryTests(TestCase):
for field in model._meta.fields:
# Check that all values on the model are equal
self.assertEqual(getattr(item,field.attname),
getattr(orig_item,field.attname))
self.assertEqual(getattr(item, field.attname),
getattr(orig_item, field.attname))
# This includes checking that they are the same type
self.assertEqual(type(getattr(item,field.attname)),
type(getattr(orig_item,field.attname)))
self.assertEqual(type(getattr(item, field.attname)),
type(getattr(orig_item, field.attname)))
def assertNoAnnotations(self, results):
"""