fix: use correct encoding

This commit is contained in:
Jose Diaz-Gonzalez
2019-01-05 20:42:42 -05:00
parent 5f3b4640e8
commit f33784cbc9

View File

@@ -132,7 +132,7 @@ def output_junit(files, output=None):
ElementTree.SubElement(root, "system-out")
ElementTree.SubElement(root, "system-err")
content = ElementTree.tostring(root, encoding='utf8', method='xml')
content = ElementTree.tostring(root, encoding='UTF-8', method='xml')
if output:
with open(output, 'w') as f:
f.write(content)