Use latin-1 encoding to avoid failing on strange output.

parent cc10f410
......@@ -48,7 +48,7 @@ def findCTestOutput():
def handleCTestOutput():
path = findCTestOutput()
with open(path, "r") as fh:
with open(path, "r", encoding="latin-1") as fh:
tree = xml.etree.ElementTree.parse(fh)
root = tree.getroot()
testing = root.find("Testing")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment