8000 Remove needless print calls · awesome-python/html5lib-python@84412cf · GitHub
[go: up one dir, main page]

Skip to content

Commit 84412cf

Browse files
committed
Remove needless print calls
1 parent e1a400c commit 84412cf

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

html5lib/tests/test_parser.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,5 @@ def test_parser():
8484

8585
for treeName, treeCls in treeTypes.items():
8686
for namespaceHTMLElements in (True, False):
87-
print(input)
8887
yield (runParserTest, innerHTML, input, expected, errors, treeCls,
8988
namespaceHTMLElements)

html5lib/treebuilders/simpletree.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,6 @@ def hilite(self):
203203
return result + '&lt;/<code class="markup element-name">%s</code>>' % self.name
204204

205205
def printTree(self, indent):
206-
print(self.name)
207206
tree = '\n|%s%s' % (' '*indent, str(self))
208207
indent += 2
209208
if self.attributes:

0 commit comments

Comments
 (0)
0