diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-02-28 12:20:01 -0800 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-02-28 12:20:01 -0800 |
commit | e784b76e2886c0c297d6812e43b71173a8a90aff (patch) | |
tree | d0107d4969a3f5a6c4fbe540bdc3caefd52bfa2c /test/runtest | |
parent | 09d0ba71137934406f79d2de5cd335e4af1c7dcf (diff) | |
download | scons-e784b76e2886c0c297d6812e43b71173a8a90aff.tar.gz |
byte string fix py2/3
Diffstat (limited to 'test/runtest')
-rw-r--r-- | test/runtest/xml/output.py | 2 |
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) |