Skip to content

Commit a1eb14f

Browse files
committed
leave ordering of values() unchanged when pulling them out for tests
1 parent 701e2e2 commit a1eb14f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/cloudpickle_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def test_odict_keys(self):
235235
def test_odict_values(self):
236236
values = collections.OrderedDict([("a", 1), ("b", 2)]).values()
237237
results = pickle_depickle(values)
238-
self.assertEqual(sorted(results), sorted(values))
238+
self.assertEqual(list(results), list(values))
239239
assert type(values) == type(results)
240240

241241
def test_odict_items(self):

0 commit comments

Comments
 (0)