mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
Update python/ql/test/library-tests/frameworks/stdlib/XPathExecution.py
Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com>
This commit is contained in:
@@ -9,8 +9,7 @@ root.find(match, namespaces=ns) # $ getXPath=match
|
||||
root.findall(match, namespaces=ns) # $ getXPath=match
|
||||
root.findtext(match, default=None, namespaces=ns) # $ getXPath=match
|
||||
|
||||
from xml.etree.ElementTree import ElementTree
|
||||
tree = ElementTree()
|
||||
tree = ET.ElementTree()
|
||||
tree.parse("index.xhtml")
|
||||
|
||||
tree.find(match, namespaces=ns) # $ getXPath=match
|
||||
|
||||
Reference in New Issue
Block a user