Enable Python 3.5 testing and fix tests
Fixes to a couple of places to make the python 3.5 tests pass. Change-Id: I3f4b73b24fbe336ac6c80b7aa224a830ab7e36a6
This commit is contained in:
@@ -52,7 +52,9 @@ class AngularGettextHTMLParser(html_parser.HTMLParser):
|
||||
|
||||
def __init__(self):
|
||||
try:
|
||||
super(AngularGettextHTMLParser, self).__init__()
|
||||
super(AngularGettextHTMLParser, self).__init__(
|
||||
convert_charrefs=False
|
||||
)
|
||||
except TypeError:
|
||||
# handle HTMLParser not being a type on Python 2
|
||||
html_parser.HTMLParser.__init__(self)
|
||||
|
||||
Reference in New Issue
Block a user