From 366ada041268413db52e53a55c96f7181084cecb Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Mon, 4 Feb 2019 16:48:22 +0200 Subject: [PATCH] tests: Decode sigma_dut output for python3 Signed-off-by: Jouni Malinen --- tests/hwsim/test_sigma_dut.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/hwsim/test_sigma_dut.py b/tests/hwsim/test_sigma_dut.py index 716d1be7d..acf3ea475 100644 --- a/tests/hwsim/test_sigma_dut.py +++ b/tests/hwsim/test_sigma_dut.py @@ -102,8 +102,8 @@ def stop_sigma_dut(sigma): sigma.terminate() sigma.wait() out, err = sigma.communicate() - logger.debug("sigma_dut stdout: " + str(out)) - logger.debug("sigma_dut stderr: " + str(err)) + logger.debug("sigma_dut stdout: " + str(out.decode())) + logger.debug("sigma_dut stderr: " + str(err.decode())) def sigma_dut_wait_connected(ifname): for i in range(50):