From 269af21ce63bf06c6b8b09f3de289a8b1f53f7fd Mon Sep 17 00:00:00 2001 From: He Yin Ling Date: Mon, 30 Dec 2019 10:41:11 +0800 Subject: [PATCH] test: fix multiple devices cases fail on python3 --- tools/unit-test-app/unit_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/unit-test-app/unit_test.py b/tools/unit-test-app/unit_test.py index 3d5e4fe77..f78692667 100755 --- a/tools/unit-test-app/unit_test.py +++ b/tools/unit-test-app/unit_test.py @@ -354,7 +354,7 @@ class Handler(threading.Thread): def device_wait_action(data): start_time = time.time() - expected_signal = data[0] + expected_signal = data[0].encode('utf-8') while 1: if time.time() > start_time + self.timeout: Utility.console_log("Timeout in device for function: %s" % self.child_case_name, color="orange")