mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
run-tests: record faildata using bytes instead of str
lines is already bytes, so this is just fixing a bug on python 3.
This commit is contained in:
parent
4b472c4d53
commit
431689beb7
@ -1304,7 +1304,7 @@ class TestResult(unittest._TextTestResult):
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user