chopsticks icon indicating copy to clipboard operation
chopsticks copied to clipboard

ErrorResult does not compare equal

Open lordmauve opened this issue 7 years ago • 0 comments

It should be possible to compared ErrorResult instances to each other. They should also be hashable based on their message value.

This would be useful in testing.

If they are hashable they could be used as dict keys and in sets. It might be useful to be able to count the different error messages using a collections.Counter, for example.

lordmauve avatar Nov 10 '17 13:11 lordmauve