Fix output in Python3 when tests fail.

Change-Id: Icd7552cee1336c10fe42f9f0bae175171347d369
This commit is contained in:
Jacob Trimble 2020-06-04 14:23:30 -07:00
parent 7e41937bb1
commit 719668aa1c
1 changed files with 2 additions and 2 deletions

View File

@ -134,10 +134,10 @@ class DiffFilesPolicy(object):
output, error = self._GitDiff(expected_file, actual_file) output, error = self._GitDiff(expected_file, actual_file)
if output: if output:
failure_messages += [output] failure_messages += [output.decode('utf8')]
if error: if error:
failure_messages += [error] failure_messages += [error.decode('utf8')]
if self._exact: if self._exact:
for diff_file in self._allowed_diff_files: for diff_file in self._allowed_diff_files: