summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-06-09 12:00:12 -0400
committerTim Graham <timograham@gmail.com>2014-06-09 12:02:20 -0400
commit0a515b02fcfa937e2a148148ca7be3e291e31d2e (patch)
tree82567f2c8fbed6e25f551e965d386a8d0fd0c01c
parenta11ed8dcfdce6820012ea219d1bbadb28c67b60d (diff)
[1.7.x] Fixed flake8 errors.
Backport of 4b25ebf112 from master
-rw-r--r--django/db/backends/creation.py1
-rw-r--r--django/test/testcases.py1
2 files changed, 1 insertions, 1 deletions
diff --git a/django/db/backends/creation.py b/django/db/backends/creation.py
index a5fb9fe086..91576c516b 100644
--- a/django/db/backends/creation.py
+++ b/django/db/backends/creation.py
@@ -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):
diff --git a/django/test/testcases.py b/django/test/testcases.py
index e07d62b5ec..61b206dd93 100644
--- a/django/test/testcases.py
+++ b/django/test/testcases.py
@@ -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: