chopsticks
chopsticks copied to clipboard
ErrorResult does not compare equal
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.