Opened 8 years ago
Last modified 4 years ago
#28507 closed New feature
Allow ValidationErrors to equal each other when created identically — at Initial Version
Description ¶
Currently ValidationErrors (django.core.exceptions.ValidationError
) that have identical messages
don't equal each other, which is counter-intuitive, and can make certain kinds of testing more complicated. Please add an __eq__
method that allows two ValidationErrors to be compared.
Note:
See TracTickets
for help on using tickets.