summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2014-06-07 15:03:33 +0200
committerAymeric Augustin <aymeric.augustin@m4x.org>2014-06-07 15:04:06 +0200
commitd98cc41a845237edd62013e3156a0991dfb3d93e (patch)
tree40f03e940613029ca962d44122ba4eec893be6a0 /tests
parent11284a63d48c84f1d60b5686d55cf8a9f8d64422 (diff)
Made a test compatible with Python 2 and 3.
Diffstat (limited to 'tests')
-rw-r--r--tests/backends/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/backends/tests.py b/tests/backends/tests.py
index 5ac0d53cb8..9d3e4a4bf1 100644
--- a/tests/backends/tests.py
+++ b/tests/backends/tests.py
@@ -681,7 +681,7 @@ class BackendTestCase(TestCase):
self.assertIsInstance(connection.queries, list)
self.assertIsInstance(connection.queries[0], dict)
- self.assertItemsEqual(connection.queries[0].keys(), ['sql', 'time'])
+ six.assertCountEqual(self, connection.queries[0].keys(), ['sql', 'time'])
reset_queries()
self.assertEqual(0, len(connection.queries))