summaryrefslogtreecommitdiffstats
path: root/test/runtest
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-02-28 20:20:01 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-02-28 20:20:01 (GMT)
commit04478163dde3e22b711bcfb4728c902e0b1a4d05 (patch)
treed0107d4969a3f5a6c4fbe540bdc3caefd52bfa2c /test/runtest
parente9c61517581f4fc0299b81c4e6bb9069dab3b934 (diff)
downloadSCons-04478163dde3e22b711bcfb4728c902e0b1a4d05.zip
SCons-04478163dde3e22b711bcfb4728c902e0b1a4d05.tar.gz
SCons-04478163dde3e22b711bcfb4728c902e0b1a4d05.tar.bz2
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 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)