From 719668aa1c4d61a682063aeeeb16b8366e6a99a3 Mon Sep 17 00:00:00 2001 From: Jacob Trimble Date: Thu, 4 Jun 2020 14:23:30 -0700 Subject: [PATCH] Fix output in Python3 when tests fail. Change-Id: Icd7552cee1336c10fe42f9f0bae175171347d369 --- packager/app/test/packager_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packager/app/test/packager_test.py b/packager/app/test/packager_test.py index 5aec6796d5..5f6c66b2d0 100755 --- a/packager/app/test/packager_test.py +++ b/packager/app/test/packager_test.py @@ -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: