diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2017-01-18 21:35:59 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-01-18 21:44:00 -0500 |
| commit | eb422e476f3c0070dbf200bd62d97d12150c6fd9 (patch) | |
| tree | 5268a6d44f039da8adeaecea0fd605c6653a723d /django/test/html.py | |
| parent | 3cc5f01d9bd52930cec3c08d6ec7e19d0c2a6489 (diff) | |
Refs #23919 -- Removed obsolete __ne__() methods.
__ne__() defaults to the opposite of __eq__() on Python 3
when it doesn't return NotImplemented.
Diffstat (limited to 'django/test/html.py')
| -rw-r--r-- | django/test/html.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/django/test/html.py b/django/test/html.py index d84b9770e1..67a2ad65e1 100644 --- a/django/test/html.py +++ b/django/test/html.py @@ -81,9 +81,6 @@ class Element(object): def __hash__(self): return hash((self.name,) + tuple(a for a in self.attributes)) - def __ne__(self, element): - return not self.__eq__(element) - def _count(self, element, count=True): if not isinstance(element, str): if self == element: |
