mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
[1.7.x] Fixed flake8 errors.
Backport of 4b25ebf112 from master
This commit is contained in:
parent
a11ed8dcfd
commit
0a515b02fc
@ -412,6 +412,7 @@ class BaseDatabaseCreation(object):
|
||||
app_config.name not in settings.TEST_NON_SERIALIZED_APPS
|
||||
):
|
||||
app_list.append((app_config, None))
|
||||
|
||||
# Make a function to iteratively return every object
|
||||
def get_objects():
|
||||
for model in sort_dependencies(app_list):
|
||||
|
@ -842,7 +842,6 @@ class TransactionTestCase(SimpleTestCase):
|
||||
allow_cascade=self.available_apps is not None,
|
||||
inhibit_post_migrate=self.available_apps is not None)
|
||||
|
||||
|
||||
def assertQuerysetEqual(self, qs, values, transform=repr, ordered=True, msg=None):
|
||||
items = six.moves.map(transform, qs)
|
||||
if not ordered:
|
||||
|
Loading…
x
Reference in New Issue
Block a user