From e784b76e2886c0c297d6812e43b71173a8a90aff 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(-) (limited to 'test/runtest/xml') 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) -- cgit v1.2.1