diff options
-rw-r--r-- | benchmark/benchbase.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/benchbase.py b/benchmark/benchbase.py index 08cba22c..b07551c6 100644 --- a/benchmark/benchbase.py +++ b/benchmark/benchbase.py @@ -150,7 +150,7 @@ class BenchMarkBase(object): return getattr(self, name) def _serialize_tree(self, root): - return self.etree.tostring(root, 'UTF-8') + return self.etree.tostring(root, encoding='UTF-8') def et_make_clone_factory(self, elem): def generate_elem(append, elem, level): |