summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: