diff options
| author | Sergey Fedoseev <fedoseev.sergey@gmail.com> | 2019-02-09 19:18:48 +0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2019-02-09 09:18:48 -0500 |
| commit | 1933e56eca1ad17de7dd133bfb7cbee9858a75a3 (patch) | |
| tree | 3dbc7a8fa58cba631591ebdfa22c687948fbb887 /django/test/html.py | |
| parent | b1a2ad69251053a5f1ce71ffa95b188c4a765388 (diff) | |
Removed uneeded generator expressions and list comprehensions.
Diffstat (limited to 'django/test/html.py')
| -rw-r--r-- | django/test/html.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/test/html.py b/django/test/html.py index 3b55b52861..8b064529b0 100644 --- a/django/test/html.py +++ b/django/test/html.py @@ -72,7 +72,7 @@ class Element: return self.children == element.children def __hash__(self): - return hash((self.name, *(a for a in self.attributes))) + return hash((self.name, *self.attributes)) def _count(self, element, count=True): if not isinstance(element, str): |
