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

Commit9a10a4c

Browse files
committed
Update tests.
Also add an assertion for symptom of#217 (without this thetestsuite goes into an infinite loop; this doesn't fix the causebut it avoids the infinite loop happening!).
1 parent383d1ee commit9a10a4c

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

‎.pytest.expect‎

43.4 KB
Binary file not shown.

‎html5lib/tests/testdata‎

Submoduletestdata updated94 files

‎html5lib/treewalkers/etree.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ def getParentNode(self, node):
129129
ifnotparents:
130130
returnparent
131131
else:
132+
assertlist(parents[-1]).count(parent)==1
132133
returnparent,list(parents[-1]).index(parent),parents,None
133134

134135
returnlocals()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp