mirror of https://github.com/django/django.git
Fixed a test's dict_keys/list comparison that always evaluated as False.
This commit is contained in:
parent
7afb476469
commit
2a5708a304
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue