Skip to content

Commit

Permalink
Update xfind test that was broken since 5.69.
Browse files Browse the repository at this point in the history
  • Loading branch information
doerwalter committed May 9, 2022
1 parent 5a63f69 commit caf40d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_xist_xfind.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def check(res):
check(list(node.walknodes(html.h1 | html.h2)))
check(list(node.walknodes(html.h1, html.h2)))
check(list(node.walknodes(html.h1, html.h2, ~xfind.any)))
check(list(node.walknodes(xsc.Element & ~(xsc.Text | html.p | html.div | html.em | html.img))))
check(list(node.walknodes(xsc.Element & ~xfind.selector(xsc.Text | html.p | html.div | html.em | html.img))))


def test_element():
Expand Down

0 comments on commit caf40d9

Please sign in to comment.