diff options
Diffstat (limited to 'django/test/html.py')
| -rw-r--r-- | django/test/html.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/django/test/html.py b/django/test/html.py index 3ec7d44002..fdedafe76e 100644 --- a/django/test/html.py +++ b/django/test/html.py @@ -69,9 +69,7 @@ class Element: other_value = other_attr if attr != other_attr or value != other_value: return False - if self.children != element.children: - return False - return True + return self.children == element.children def __hash__(self): return hash((self.name,) + tuple(a for a in self.attributes)) |
