summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--benchmark/bench_xpath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/bench_xpath.py b/benchmark/bench_xpath.py
index f3d91837..997f946d 100644
--- a/benchmark/bench_xpath.py
+++ b/benchmark/bench_xpath.py
@@ -67,7 +67,7 @@ class XPathBenchMark(benchbase.TreeBenchMark):
else:
return ()
extensions = {("test", "child") : return_child}
- xpath = self.etree.XPath("t:child(.)", namespaces={"test":"t"},
+ xpath = self.etree.XPath("t:child(.)", namespaces={"t":"test"},
extensions=extensions)
for child in children:
xpath(child)