summaryrefslogtreecommitdiff
path: root/jsonschema/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'jsonschema/exceptions.py')
-rw-r--r--jsonschema/exceptions.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/jsonschema/exceptions.py b/jsonschema/exceptions.py
index 04a3c0b..26fafbe 100644
--- a/jsonschema/exceptions.py
+++ b/jsonschema/exceptions.py
@@ -28,14 +28,6 @@ class _Error(Exception):
self.instance = instance
self.schema = schema
- def __eq__(self, other):
- if not isinstance(other, self.__class__):
- return NotImplemented
- return self._contents() == other._contents()
-
- def __ne__(self, other):
- return not self == other
-
def __repr__(self):
return "<%s: %r>" % (self.__class__.__name__, self.message)