mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed E127 pep8 warnings.
This commit is contained in:
@@ -32,11 +32,15 @@ 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