From 04478163dde3e22b711bcfb4728c902e0b1a4d05 Mon Sep 17 00:00:00 2001 From: William Deegan Date: Tue, 28 Feb 2017 12:20:01 -0800 Subject: byte string fix py2/3 --- test/runtest/xml/output.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12