Objects don't have a builtin `__cmp__` method in Python 3 and can't be sorted.
The sorting here only seems to happen to be able to check equality of tests. The same effect should be achieved by using `assertCountEqual` which checks the number of times each object occurs in a list. [ Full content available at: https://github.com/apache/beam/pull/6451 ] This message was relayed via gitbox.apache.org for [email protected]
