changeset 25052:c4217a046b62

run-tests: record faildata using bytes instead of str lines is already bytes, so this is just fixing a bug on python 3.
author Augie Fackler <augie@google.com>
date Tue, 14 Apr 2015 16:21:10 -0400
parents 9c28f3236677
children 4f2c74ef8128
files tests/run-tests.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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