Skip to content

Commit cef0b11

Browse files
committed
fixup! Move to a single definition of treeTypes for all tests
1 parent 7357bea commit cef0b11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

html5lib/tests/tree_construction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def collect(self):
4141
yield x
4242

4343
def _getParserTests(self, treeName, treeAPIs):
44-
if "adapter" in treeAPIs:
44+
if treeAPIs is not None and "adapter" in treeAPIs:
4545
return
4646
for namespaceHTMLElements in (True, False):
4747
if namespaceHTMLElements:

0 commit comments

Comments
 (0)