Skip to content

Commit d0a393e

Browse files
yoffRasmusWL
andauthored
Update python/ql/test/library-tests/frameworks/stdlib/XPathExecution.py
Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com>
1 parent 6946ae9 commit d0a393e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/ql/test/library-tests/frameworks/stdlib/XPathExecution.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
root.findall(match, namespaces=ns) # $ getXPath=match
1010
root.findtext(match, default=None, namespaces=ns) # $ getXPath=match
1111

12-
from xml.etree.ElementTree import ElementTree
13-
tree = ElementTree()
12+
tree = ET.ElementTree()
1413
tree.parse("index.xhtml")
1514

1615
tree.find(match, namespaces=ns) # $ getXPath=match

0 commit comments

Comments
 (0)