From: Jennifer Sutton Date: Tue, 6 Aug 2024 02:05:38 +0000 (+1200) Subject: python:tests: Decode stdout for greater readability X-Git-Tag: tevent-0.17.0~120 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fda6aef10f02e2bf4efde65af4259b864ceee095;p=thirdparty%2Fsamba.git python:tests: Decode stdout for greater readability BUG: https://bugzilla.samba.org/show_bug.cgi?id=15852 Signed-off-by: Jennifer Sutton Reviewed-by: Douglas Bagnall --- diff --git a/python/samba/tests/domain_backup.py b/python/samba/tests/domain_backup.py index 501108a0871..70993bb51e7 100644 --- a/python/samba/tests/domain_backup.py +++ b/python/samba/tests/domain_backup.py @@ -535,7 +535,7 @@ class DomainBackupBase(BlackboxTestCase, GkdiBaseTest): # that we skip the TestCaseInTempDir._remove_tempdir() assertions self.cleanup_tempdir() self.fail("Error calling samba-tool: %s" % e) - print(out) + print(out.decode()) def create_backup(self, extra_args=None): """Runs the backup cmd to produce a backup file for the testenv DC"""