summaryrefslogtreecommitdiff
path: root/test/runtest
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-02-28 12:20:01 -0800
committerWilliam Deegan <bill@baddogconsulting.com>2017-02-28 12:20:01 -0800
commite784b76e2886c0c297d6812e43b71173a8a90aff (patch)
treed0107d4969a3f5a6c4fbe540bdc3caefd52bfa2c /test/runtest
parent09d0ba71137934406f79d2de5cd335e4af1c7dcf (diff)
downloadscons-e784b76e2886c0c297d6812e43b71173a8a90aff.tar.gz
byte string fix py2/3
Diffstat (limited to 'test/runtest')
-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 66d7911f..e669a3a8 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)