diff options
Diffstat (limited to 'jsonschema/exceptions.py')
-rw-r--r-- | jsonschema/exceptions.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/jsonschema/exceptions.py b/jsonschema/exceptions.py index f81fce0..9008182 100644 --- a/jsonschema/exceptions.py +++ b/jsonschema/exceptions.py @@ -55,16 +55,6 @@ class _Error(Exception): for error in context: error.parent = self - def __eq__(self, other): - if not isinstance(other, self.__class__): - return NotImplemented - return self._contents() == other._contents() - - def __ne__(self, other): - if not isinstance(other, self.__class__): - return NotImplemented - return not self == other - def __repr__(self): return "<%s: %r>" % (self.__class__.__name__, self.message) |