summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/runtest/xml/output.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/runtest/xml/output.py b/test/runtest/xml/output.py
index 66d7911..e669a3a 100644
--- a/test/runtest/xml/output.py
+++ b/test/runtest/xml/output.py
@@ -92,7 +92,7 @@ expect = """\
# Just strip carriage returns so the regular expression matching works.
contents = test.read('xml.out')
-contents = contents.replace('\r', '')
+contents = contents.replace(b'\r', b'')
test.write('xml.out', contents)
test.must_match('xml.out', expect)