From 447f8b6dd6e407a2592c2bbeb5c2b0352e0c6dd0 Mon Sep 17 00:00:00 2001 From: Saikrishna Arcot Date: Tue, 12 Sep 2023 10:16:52 -0700 Subject: [PATCH] Fix diff output in test for Python 3 Signed-off-by: Saikrishna Arcot --- tests/hostcfgd/hostcfgd_passwh_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hostcfgd/hostcfgd_passwh_test.py b/tests/hostcfgd/hostcfgd_passwh_test.py index 8cf08034..c583809b 100755 --- a/tests/hostcfgd/hostcfgd_passwh_test.py +++ b/tests/hostcfgd/hostcfgd_passwh_test.py @@ -123,7 +123,7 @@ def check_config(self, test_name, test_data, config_name): if not match: for name in files_to_compare: diff_output += self.run_diff( sop_path + "/" + name,\ - op_path + "/" + name).decode('utf-8') + op_path + "/" + name) self.assertTrue(len(diff_output) == 0, diff_output)