summaryrefslogtreecommitdiff
path: root/django/test/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/test/utils.py')
-rw-r--r--django/test/utils.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/django/test/utils.py b/django/test/utils.py
index 419180eed3..8bdcea77d7 100644
--- a/django/test/utils.py
+++ b/django/test/utils.py
@@ -1,4 +1,3 @@
-import collections
import logging
import re
import sys
@@ -280,8 +279,7 @@ def get_unique_databases_and_mirrors(aliases=None):
if alias != DEFAULT_DB_ALIAS and connection.creation.test_db_signature() != default_sig:
dependencies[alias] = test_settings.get('DEPENDENCIES', [DEFAULT_DB_ALIAS])
- test_databases = dependency_ordered(test_databases.items(), dependencies)
- test_databases = collections.OrderedDict(test_databases)
+ test_databases = dict(dependency_ordered(test_databases.items(), dependencies))
return test_databases, mirrored_aliases