summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2017-05-27 15:37:16 -0700
committerTim Graham <timograham@gmail.com>2017-05-27 18:37:16 -0400
commit2a5708a304cf337dbf556e2bd87a930079f8f766 (patch)
tree91f05c8d127a88d2698bb4881faf618a84a5293e /tests
parent7afb47646920ab3835dfa1750257dace01883a4b (diff)
Fixed a test's dict_keys/list comparison that always evaluated as False.
Diffstat (limited to 'tests')
-rw-r--r--tests/queries/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/queries/tests.py b/tests/queries/tests.py
index d1c1b2b4b0..b69ea84345 100644
--- a/tests/queries/tests.py
+++ b/tests/queries/tests.py
@@ -550,7 +550,7 @@ class Queries1Tests(TestCase):
# normal. A normal dict would thus fail.)
s = [('a', '%s'), ('b', '%s')]
params = ['one', 'two']
- if {'a': 1, 'b': 2}.keys() == ['a', 'b']:
+ if list({'a': 1, 'b': 2}) == ['a', 'b']:
s.reverse()
params.reverse()