run-tests: record faildata using bytes instead of str
authorAugie Fackler <augie@google.com>
Tue, 14 Apr 2015 16:21:10 -0400
changeset 25052 c4217a046b62
parent 25051 9c28f3236677
child 25053 4f2c74ef8128
run-tests: record faildata using bytes instead of str lines is already bytes, so this is just fixing a bug on python 3.
tests/run-tests.py
--- a/tests/run-tests.py	Tue Apr 14 16:18:11 2015 -0400
+++ b/tests/run-tests.py	Tue Apr 14 16:21:10 2015 -0400
@@ -1304,7 +1304,7 @@
                         rename(test.errpath, '%s.out' % test.path)
                     accepted = True
             if not accepted and not failed:
-                self.faildata[test.name] = ''.join(lines)
+                self.faildata[test.name] = b''.join(lines)
 
         return accepted