Skip to content

Commit

Permalink
Fix html5lib#83: Stop testing the DOM treewalker with pxdom
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gsnedders committed Aug 27, 2013
1 parent c10635f commit fdcdea8
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions html5lib/tests/test_treewalkers.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,6 @@ def PullDOMAdapter(node):
"walker": treewalkers.getTreeWalker("lxml")}


# Try whatever etree implementations are available from a list that are
#"supposed" to work
try:
import pxdom
treeTypes['pxdom'] = \
{"builder": treebuilders.getTreeBuilder("dom", pxdom),
"walker": treewalkers.getTreeWalker("dom")}
except ImportError:
pass

try:
from genshi.core import QName, Attrs
from genshi.core import START, END, TEXT, COMMENT, DOCTYPE
Expand Down

0 comments on commit fdcdea8

Please sign in to comment.