Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…der.
  • Loading branch information...
commit 69a4f383f6e84bac16afad103d332103e4e7bcc1 1 parent 9723e99
Tim Graham timgraham authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/utils_tests/test_datastructures.py
2  tests/utils_tests/test_datastructures.py
View
@@ -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])
Please sign in to comment.
Something went wrong with that request. Please try again.