summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/test/html.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/django/test/html.py b/django/test/html.py
index 143c3728be..acdb4ffd14 100644
--- a/django/test/html.py
+++ b/django/test/html.py
@@ -83,6 +83,8 @@ class Element(object):
return False
return True
+ __hash__ = object.__hash__
+
def __ne__(self, element):
return not self.__eq__(element)