From 2a5708a304cf337dbf556e2bd87a930079f8f766 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sat, 27 May 2017 15:37:16 -0700 Subject: [PATCH] Fixed a test's dict_keys/list comparison that always evaluated as False. --- tests/queries/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()