diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2017-05-27 15:37:16 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-05-27 18:37:16 -0400 |
| commit | 2a5708a304cf337dbf556e2bd87a930079f8f766 (patch) | |
| tree | 91f05c8d127a88d2698bb4881faf618a84a5293e /tests | |
| parent | 7afb47646920ab3835dfa1750257dace01883a4b (diff) | |
Fixed a test's dict_keys/list comparison that always evaluated as False.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/queries/tests.py | 2 |
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() |
