mirror of
https://github.com/django/django.git
synced 2025-03-03 13:34:26 +00:00
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…
x
Reference in New Issue
Block a user