mirror of https://github.com/django/django.git
Fixed Python 3.4 test failure.
This commit is contained in:
parent
ab4c96cff0
commit
45ef4baf5c
|
@ -20,8 +20,8 @@ if not use_workaround:
|
||||||
it at call time because Python 2.7 does not have the keyword
|
it at call time because Python 2.7 does not have the keyword
|
||||||
argument.
|
argument.
|
||||||
"""
|
"""
|
||||||
def __init__(self, convert_charrefs=False):
|
def __init__(self, convert_charrefs=False, **kwargs):
|
||||||
_html_parser.HTMLParser.__init__(self, convert_charrefs=convert_charrefs)
|
_html_parser.HTMLParser.__init__(self, convert_charrefs=convert_charrefs, **kwargs)
|
||||||
else:
|
else:
|
||||||
HTMLParser = _html_parser.HTMLParser
|
HTMLParser = _html_parser.HTMLParser
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue