diff --git a/lazylex/html.py b/lazylex/html.py index f4dc24675..3710d2f7f 100755 --- a/lazylex/html.py +++ b/lazylex/html.py @@ -16,7 +16,7 @@ from __future__ import print_function from _devbuild.gen.htm8_asdl import h8_id, h8_id_t, h8_id_str -from typing import Dict, Iterator, Union, Any, IO +from typing import Dict, Iterator, Any, IO try: from cStringIO import StringIO diff --git a/lazylex/html_test.py b/lazylex/html_test.py index f91cad7bf..ca89e9f48 100755 --- a/lazylex/html_test.py +++ b/lazylex/html_test.py @@ -536,7 +536,7 @@ def testValid(self): for s, _ in VALID_PARSE: html.Validate(s, html.BALANCED_TAGS, counters) print('HTML5 %r' % s) - print('HTML5 attrs %r' % counters.debug_attrs) + #print('HTML5 attrs %r' % counters.debug_attrs) def testValidXml(self): # type: () -> None @@ -545,7 +545,7 @@ def testValidXml(self): html.Validate(s, html.BALANCED_TAGS | html.NO_SPECIAL_TAGS, counters) print('XML %r' % s) - print('XML attrs %r' % counters.debug_attrs) + #print('XML attrs %r' % counters.debug_attrs) class XmlTest(unittest.TestCase):