Fixed a test's dict_keys/list comparison that always evaluated as False.

This commit is contained in:
Jon Dufresne 2017-05-27 15:37:16 -07:00 committed by Tim Graham
parent 7afb476469
commit 2a5708a304
1 changed files with 1 additions and 1 deletions

View File

@ -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()