Fix output in Python3 when tests fail.
Change-Id: Icd7552cee1336c10fe42f9f0bae175171347d369
This commit is contained in:
parent
7e41937bb1
commit
719668aa1c
|
@ -134,10 +134,10 @@ class DiffFilesPolicy(object):
|
|||
output, error = self._GitDiff(expected_file, actual_file)
|
||||
|
||||
if output:
|
||||
failure_messages += [output]
|
||||
failure_messages += [output.decode('utf8')]
|
||||
|
||||
if error:
|
||||
failure_messages += [error]
|
||||
failure_messages += [error.decode('utf8')]
|
||||
|
||||
if self._exact:
|
||||
for diff_file in self._allowed_diff_files:
|
||||
|
|
Loading…
Reference in New Issue