diff options
author | Christian Heimes <christian@cheimes.de> | 2013-11-22 02:36:28 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-11-22 02:36:28 (GMT) |
commit | d5b200ce2be23c2bd90d01b87c8280b27f578a6a (patch) | |
tree | ca8c35629ede54d202647c9a64db751bdc25c37c /Lib | |
parent | f22e8e5426e02c2f5cf451cbc1b722713c744358 (diff) | |
download | cpython-d5b200ce2be23c2bd90d01b87c8280b27f578a6a.zip cpython-d5b200ce2be23c2bd90d01b87c8280b27f578a6a.tar.gz cpython-d5b200ce2be23c2bd90d01b87c8280b27f578a6a.tar.bz2 |
Issue #19664: fix another flake test_userdict test
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_userdict.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_userdict.py b/Lib/test/test_userdict.py index 4d89965..2ca9929 100644 --- a/Lib/test/test_userdict.py +++ b/Lib/test/test_userdict.py @@ -90,9 +90,9 @@ class UserDictTest(mapping_tests.TestHashMappingProtocol): self.assertNotEqual(m2a, m2) # Test keys, items, values - self.assertEqual(u2.keys(), d2.keys()) - self.assertEqual(u2.items(), d2.items()) - self.assertEqual(list(u2.values()), list(d2.values())) + self.assertEqual(sorted(u2.keys()), sorted(d2.keys())) + self.assertEqual(sorted(u2.items()), sorted(d2.items())) + self.assertEqual(sorted(u2.values()), sorted(d2.values())) # Test "in". for i in u2.keys(): |