summaryrefslogtreecommitdiff
path: root/tests/goldtest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/goldtest.py')
-rw-r--r--tests/goldtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/goldtest.py b/tests/goldtest.py
index cd946efb..f2b7fe19 100644
--- a/tests/goldtest.py
+++ b/tests/goldtest.py
@@ -122,7 +122,7 @@ def canonicalize_xml(xtext):
for node in root.iter():
node.attrib = dict(sorted(node.items()))
xtext = xml.etree.ElementTree.tostring(root)
- return xtext.decode('utf8')
+ return xtext.decode("utf-8")
def contains(filename, *strlist):