summaryrefslogtreecommitdiff
path: root/django/test/html.py
diff options
context:
space:
mode:
authorNick Pope <nick.pope@flightdataservices.com>2017-12-07 14:10:32 +0000
committerTim Graham <timograham@gmail.com>2017-12-07 09:10:32 -0500
commitc68f66e0144b69367e98692cba313251a36b85a8 (patch)
tree27cc339cb832ed681e7845070e19afe68fc966d5 /django/test/html.py
parent9d1d0e2b702fe1a3f979a95bc4583f1a1691c74f (diff)
Refs #23919 -- Replaced super() calls for old-style classes.
Diffstat (limited to 'django/test/html.py')
-rw-r--r--django/test/html.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/test/html.py b/django/test/html.py
index b5ec00b16f..2c33731447 100644
--- a/django/test/html.py
+++ b/django/test/html.py
@@ -148,7 +148,7 @@ class Parser(HTMLParser):
)
def __init__(self):
- HTMLParser.__init__(self, convert_charrefs=False)
+ super().__init__(convert_charrefs=False)
self.root = RootElement()
self.open_tags = []
self.element_positions = {}