From fdcdea853bae29a761baaca21b73aac7e2bf3ff8 Mon Sep 17 00:00:00 2001 From: Geoffrey Sneddon <geoffers@gmail.com> Date: Mon, 29 Jul 2013 17:20:13 +0100 Subject: [PATCH] Fix #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. --- html5lib/tests/test_treewalkers.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/html5lib/tests/test_treewalkers.py b/html5lib/tests/test_treewalkers.py index 8c120163..b7756035 100644 --- a/html5lib/tests/test_treewalkers.py +++ b/html5lib/tests/test_treewalkers.py @@ -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