Permalink
Browse files

Fixed #22338 -- Fixed a test dependent on dictionary key iteration or…

…der.
  • Loading branch information...
1 parent 9723e99 commit 69a4f383f6e84bac16afad103d332103e4e7bcc1 @timgraham timgraham committed Mar 30, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/utils_tests/test_datastructures.py
@@ -271,7 +271,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 69a4f38

Please sign in to comment.