Skip to content

Commit fdcdea8

Browse files
committed
Fix html5lib#83: Stop testing the DOM treewalker with pxdom
This hasn't actually been tested in years and almost certainly won't work; furthermore pxdom isn't supported under Python 3 so it doesn't provide any testing whatsoever for a strict DOM implementation there.
1 parent c10635f commit fdcdea8

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

html5lib/tests/test_treewalkers.py

-10
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,6 @@ def PullDOMAdapter(node):
8383
"walker": treewalkers.getTreeWalker("lxml")}
8484

8585

86-
# Try whatever etree implementations are available from a list that are
87-
#"supposed" to work
88-
try:
89-
import pxdom
90-
treeTypes['pxdom'] = \
91-
{"builder": treebuilders.getTreeBuilder("dom", pxdom),
92-
"walker": treewalkers.getTreeWalker("dom")}
93-
except ImportError:
94-
pass
95-
9686
try:
9787
from genshi.core import QName, Attrs
9888
from genshi.core import START, END, TEXT, COMMENT, DOCTYPE

0 commit comments

Comments
 (0)