Closed
Description
Rest Framework validators do not implement the __eq__
method like many of their Django counterparts.
The expression ProhibitSurrogateCharactersValidator() == ProhibitSurrogateCharactersValidator()
evaluates to False
when it would be useful to have it evaluate to True
, especially in tests.
Metadata
Metadata
Assignees
Labels
No labels