Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.6.x] Fixed #22338 -- Fixed a test dependent on dictionary key iter…

…ation order.

Backport of 69a4f38 from master
  • Loading branch information...
commit 059bc7eb60a43de3679e5a0320f631a30d8e4e13 1 parent 30ba506
@timgraham timgraham authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/utils_tests/test_datastructures.py
View
2  tests/utils_tests/test_datastructures.py
@@ -280,7 +280,7 @@ def test_dict_translation(self):
'pm': ['Rory'],
})
d = mvd.dict()
- self.assertEqual(list(six.iterkeys(d)), list(six.iterkeys(mvd)))
+ self.assertEqual(sorted(six.iterkeys(d)), sorted(six.iterkeys(mvd)))
for key in six.iterkeys(mvd):
self.assertEqual(d[key], mvd[key])

0 comments on commit 059bc7e

Please sign in to comment.
Something went wrong with that request. Please try again.