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:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user