Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfdcdea8

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

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

‎html5lib/tests/test_treewalkers.py

Lines changed: 0 additions & 10 deletions
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-
importpxdom
90-
treeTypes['pxdom']= \
91-
{"builder":treebuilders.getTreeBuilder("dom",pxdom),
92-
"walker":treewalkers.getTreeWalker("dom")}
93-
exceptImportError:
94-
pass
95-
9686
try:
9787
fromgenshi.coreimportQName,Attrs
9888
fromgenshi.coreimportSTART,END,TEXT,COMMENT,DOCTYPE

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp