Skip to content

Commit

Permalink
[test/lint] Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy C committed Jan 14, 2025
1 parent 51c4143 commit db6f187
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lazylex/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lazylex/html_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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):
Expand Down

0 comments on commit db6f187

Please sign in to comment.